Hard disk image

K4DirStat – graphical directory statistics and disk cleanup

K4DirStat is a graphical disk usage analyser that displays the amount of storage consumed by directory trees. It provides both numerical statistics and a visual representation of filesystem contents.

The application is derived from KDirStat, a disk usage analyser originally developed for KDE. It retains the combination of a hierarchical directory tree and a treemap, allowing users to examine storage consumption from different perspectives.

Directory sizes are shown numerically, while the treemap uses rectangular areas to represent the relative size of files and directories. Large files occupy proportionally larger areas, making storage-intensive content easier to identify.

K4DirStat also provides cleanup functionality. Instead of merely showing where space is being consumed, it allows users to configure actions that operate on selected files and directories.

The application can be useful for exploring complex directory structures, investigating unexpectedly large folders and managing storage where a conventional file manager provides insufficient detail.

This is free and open source software.

Key Features

  • Numerical display of disk usage for directories and subdirectories.
  • Graphical treemap representing the relative sizes of files and directories.
  • Hierarchical directory tree with accumulated storage information.
  • Human-readable file and directory sizes.
  • Examine remote directories accessible through supported KDE facilities.
  • Predefined cleanup actions for deleting, moving and archiving files.
  • Move selected files or directories to the KDE trash.
  • Define custom cleanup commands for selected filesystem objects.
  • Open selected directory branches in a file manager or shell.
  • Read and write cached directory statistics.
  • Configure colours used in the directory tree and graphical display.
  • Reporting functionality for contacting owners of large directory trees.

Website: github.com/jeromerobert/k4dirstat
Support:
Developer: K4DirStat contributors
License: GNU General Public License v2.0

K4DirStat

K4DirStat is written in C++. Learn C++ with our recommended free books and free tutorials.


Related Software

Disk Usage Utilities
QDirStatExcellent Qt-based directory statistics
FilelightCreates an interactive map to visualise disk usage
BaobabAlso known as Disk Usage Analyser
ageduUtility for tracking down wasted disk space
SquirrelDiskBills itself as "the easiest app you will ever use to detect huge files"
K4DirStatKDE Directory Statistics sums up disk usage for directory trees
KrusaderFile manager with built-in disk usage functionality
SpaceManTreemap disk usage analyzer
xdiskusageLight and frugal utility
MX CleanupGUI for system cleanup and maintenance
crossdirstatFile and directory statistics written using Electron

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted