Disk Usage/Free Utility - a better 'df' alternative
Disk Usage/Free Utility (duf) - A Modern CLI Tool for Disk Management
Primary Purpose:
Duf is an enhanced command-line utility designed to provide detailed disk usage information with a user-friendly interface. It serves as an improved alternative to the traditional 'df' command, offering color-coded output and customizable features.
Key Features:
Colorful and Adaptable Output: Displays disk information in vibrant colors that adjust to your terminal's theme for optimal readability.
Sorting Capabilities: Organize results by various parameters such as size, usage percentage, or mountpoint to tailor the view to your needs.
Grouping and Filtering Options: Categorize devices and filter specific filesystems or mount points, enhancing clarity and focus on relevant data.
JSON Output Support: Facilitates integration with scripts or further processing by exporting results in JSON format.
Cross-Platform Compatibility: Operates seamlessly across multiple operating systems including Linux, BSD, macOS, and Windows.
README
duf
Disk Usage/Free Utility (Linux, BSD, macOS & Windows)
Features
User-friendly, colorful output
Adjusts to your terminal's theme & width
Sort the results according to your needs
Groups & filters devices
Can conveniently output JSON
Installation
Packages
Linux
Arch Linux: pacman -S duf
Ubuntu (22.04 and later) / Debian (12 and later): apt install duf
Installation via Winget: Easily install duf using winget, simplifying setup for users on supported platforms.
Customizable Command-Line Options: Offers extensive parameters to sort, filter, display, or hide specific columns, allowing precise control over the output.
Audience & Benefits:
Ideal for system administrators, developers, and CLI enthusiasts who require clear and actionable disk usage information. Duf's intuitive design and flexibility empower users to manage disk resources efficiently by quickly identifying storage issues, monitoring space utilization, and customizing outputs to suit their workflow needs.
If duf doesn't detect your terminal's colors correctly, you can set a theme:
duf --theme light
Color-coding & Thresholds
duf highlights the availability & usage columns in red, green, or yellow,
depending on how much space is still available. You can set your own thresholds: