| Crates.io | dinfo |
| lib.rs | dinfo |
| version | 1.0.1 |
| created_at | 2025-08-27 08:41:54.704924+00 |
| updated_at | 2025-08-27 09:01:20.017729+00 |
| description | A CLI tool to analyze disk usage: shows total size, top files, and top folders |
| homepage | |
| repository | https://github.com/Sdqumar/dinfo |
| max_upload_size | |
| id | 1812315 |
| size | 15,625 |
A fast and colorful Rust command-line tool for disk usage analysis. dinfo provides comprehensive directory analysis with beautiful colored output, showing total size, top files, and top folders.
cargo install dinfo
# Clone the repository
git clone https://github.com/Sdqumar/dinfo.git
cd dinfo
# Install locally
cargo install --path .
# Clone and build
git clone https://github.com/Sdqumar/dinfo.git
cd dinfo
cargo build --release
# The binary will be available at target/release/dinfo
Simply run dinfo in any directory to analyze its disk usage:
dinfo
=== Summary ===
Total size : 245.67 MB
== Top 5 Files ==
1. 25.4 MB ./target/release/dinfo
2. 12.8 MB ./assets/large_dataset.json
3. 8.9 MB ./docs/manual.pdf
4. 5.2 MB ./src/data/sample.csv
5. 3.1 MB ./README.md
== Top 5 Folders ==
1. 156.2 MB ./target
2. 45.7 MB ./assets
3. 23.1 MB ./docs
4. 12.4 MB ./src
5. 8.3 MB ./.git
walkdir for efficient directory traversalcolored for terminal color outputdinfo works with zero configuration. It analyzes the current working directory and displays results immediately.
walkdir to efficiently traverse the directory treeContributions are welcome! Please feel free to:
This project is dual-licensed under:
Choose the license that best fits your needs.
Made with ❤️ in Rust