df3 - Advanced Disk Free Utility
A modern, cross-platform disk usage viewer with multiple output formats, real-time monitoring, and advanced filtering capabilities.
Features
- 🚀 Fast and efficient - Written in Rust for maximum performance
- 🎨 Multiple output formats - Table, JSON, CSV, and more
- 📊 Real-time monitoring - Watch mode with configurable refresh interval
- 🔍 Advanced filtering - Filter by filesystem type, mount point, and more
- 💻 Cross-platform - Works on Linux, macOS, and Windows
- 🎯 Human-readable output - Smart size formatting
- 📈 Progress indicators - Visual feedback for long operations
- 🔧 Highly configurable - Extensive CLI options
Installation
From crates.io
From source
Quick Start
# Basic usage
# Human-readable output
# JSON output
# Watch mode (refresh every 5 seconds)
# Show only specific filesystem types
# Exclude filesystem types
# Sort by usage percentage
# Show total with inode information
Usage
Advanced disk free utility - modern alternative to df command
Usage: df [OPTIONS] [MOUNTS]...
Arguments:
[MOUNTS]... Mount point(s) to show
Options:
-H, --human-readable Show human readable sizes
-l, --local Limit listing to local file systems
-a, --all Include dummy file systems
-i, --inodes Show inode information
-o, --output <OUTPUT> Output format [default: table] [possible values: table, json, csv, inodes]
-B, --block-size <BLOCK_SIZE> Block size [default: 1024]
-t, --type <FS_TYPE> Filesystem type to show
-x, --exclude-type <FS_TYPE> Filesystem type to exclude
-S, --sort <SORT_FIELD> Sort by field [possible values: filesystem, size, used, avail, percent, mount]
-r, --reverse Reverse sort order
--total Show total row
-s, --sync Display sync progress
-w, --watch <SECONDS> Watch mode - refresh every N seconds
-V, --version Print version
-h, --help Print help
Examples
Basic Usage
JSON Output
[
{
}
Watch Mode
Configuration
df3 can be configured via a config file at:
- Linux/macOS:
~/.config/df3/config.toml - Windows:
%APPDATA%\df3\config.toml
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for details.
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
👤 Author
Acknowledgments
- Inspired by the Unix/Linux
dfcommand - Built with ❤️ using Rust
