| Crates.io | mdif |
| lib.rs | mdif |
| version | 0.1.12 |
| created_at | 2026-01-21 17:24:20.20509+00 |
| updated_at | 2026-01-21 17:24:20.20509+00 |
| description | written in rust, terminal-based disk usage analyzer. |
| homepage | |
| repository | https://github.com/temidaradev/mdif |
| max_upload_size | |
| id | 2059728 |
| size | 29,566 |
A terminal-based disk usage analyzer written in Rust. It helps identify storage consumption with a clear and intuitive interface.
This is the easiest method if you have Rust installed. It downloads the package from crates.io and installs the binary to your path.
cargo install mdif
git clone https://github.com/temidaradev/mdif.git
cd wthmdif
cargo install --path .
Once installed, you can run the app from anywhere:
mdif folder .
Inspect a specific directory to list files and subdirectories sorted by size.
mdif folder /path/to/directory
Output:
/home/user/Projects45.2 GBDIR ████████████ target (625.53 MB)FILE ░░░░░░ Cargo.lock (12.34 KB)there is also a --detail flag but it wouldnt be really efficient to use in large folders.
mdif folder --detail /path/to/directory
Output:
~/Documents/mdif/625.59 MBand this goes on....
Get a summary of the disk partition hosting the specific path.
mdif disk /
an example for disk mounted on /mnt
mdif disk /mnt/your-disk/
Visuals:
| Command | Arguments | Description |
|---|---|---|
folder |
<path> |
Recursively calculates size of the given path and lists immediate children sorted by size. |
disk |
<path> |
Shows filesystem usage stats (total/used/free) for the partition containing the path. |
--help |
Shows the help message. |
MIT