K4DirStat is a small open source utility that shows disk usage for directory trees. It displays the disk space used up by a directory tree, both numerically and graphically. The tool also helps you clean up the clutter.
K4DirStat is network transparent (you can use it to tot up FTP servers), and comes with predefined and user configurable cleanup actions. Open a directory branch in Konqueror or the shell of your choice, compress it to a .tar.bz2 archive, or define your own cleanup actions.
K4DirStat is based on KDirStat, an abandoned graphical disk usage utility for KDE 3.
Key Features
- Graphical and numeric display of used disk space.
- Human readable numbers.
- Visualize, explore, and clean up disks of any size.
- Treemap.
- Network transparency: Scan FTP or Samba directories.
- Predefined cleanup actions: Easily delete a file or a directory tree, move it to the KDE trash bin, compress it to a .tar.bz2 archive or simply open a shell or a Konqueror window there.
- Cache file reading and writing.
- User-defined cleanup actions: Add your own cleanup commands or edit the existing ones.
- “Send mail to owner” report facility: Send a mail requesting the owner of a large directory tree to clean up unused files.
- Define tree colors.
- Plugin support.
Website: github.com/jeromerobert/k4dirstat
Support:
Developer: Joshua Hodosh, Stefan Hundhammer
License: GNU General Public License v2.0

K4DirStat is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Disk Usage Utilities | |
|---|---|
| QDirStat | Excellent Qt-based directory statistics |
| Filelight | Creates an interactive map to visualise disk usage |
| Baobab | Also known as Disk Usage Analyse |
| agedu | Utility for tracking down wasted disk space |
| SquirrelDisk | Bills itself as "the easiest app you will ever use to detect huge files" |
| K4DirStat | KDE Directory Statistics sums up disk usage for directory trees |
| Krusader | File manager with built-in disk usage functionality |
| SpaceMan | Treemap disk usage analyzer |
| xdiskusage | Light and frugal utility |
| MX Cleanup | GUI for system cleanup and maintenance |
| crossdirstat | File and directory statistics written using Electron |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

