duf is a command-line utility that provides a more user-friendly alternative to the traditional df command for displaying disk usage and free space information.
The tool solves the problem of df's sparse, hard-to-parse output by presenting disk information in a colorful, organized table format. It automatically adjusts its display to match your terminal's theme and width, groups devices into categories like local filesystems, network mounts, and FUSE filesystems, and allows flexible filtering and sorting. The utility works across Linux, BSD, macOS, Windows, and Android, making it a genuinely cross-platform replacement for df.
Adopt duf if you spend time at the command line and want disk information presented clearly without cognitive overhead. It suits any project or workflow where you regularly check disk space, from server administration to development environments. The tool is particularly valuable for systems with many mount points, where df's output becomes unwieldy. Beyond basic display, duf offers sorting by multiple criteria, column selection, inode information display, customizable color thresholds for available and used space, and JSON output for scripting and integration.
The project maintains steady activity with regular updates addressing edge cases and platform-specific issues. Development includes ongoing refinement of the filtering system and output options to handle diverse filesystem configurations. The maintainer actively engages with user feedback and contributions, incorporating suggestions for improved usability across different terminal environments and operating systems.