Crates.io | sizr |
lib.rs | sizr |
version | |
source | src |
created_at | 2024-10-26 17:31:41.631352 |
updated_at | 2024-12-01 06:29:26.400213 |
description | A fast, Rust-based tool to analyze file system usage with colorful output, file aggregation, exclusions, and directory comparisons. |
homepage | https://trinhminhtriet.com |
repository | https://github.com/trinhminhtriet/sizr |
max_upload_size | |
id | 1424009 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
_
___ (_) ____ _ __
/ __|| ||_ /| '__|
\__ \| | / / | |
|___/|_|/___||_|
📈 Sizr: A fast, Rust-based tool to analyze file system usage with colorful output, file aggregation, exclusions, and directory comparisons.
LS_COLORS
environment variable for clear and organized visuals.To install sizr, simply clone the repository and follow the instructions below:
git clone git@github.com:trinhminhtriet/durs.git
cd sizr
cargo build --release
cp ./target/release/sizr /usr/local/bin/
sizr -d 2
Running the below command will globally install the sizr
binary.
cargo install sizr
$ sizr --help
Usage: sizr [options] <path> [<path>..]
Options:
-d, --depth [DEPTH] show directories up to depth N (def 1)
-a, --aggr [N[KMG]] aggregate smaller than N B/KiB/MiB/GiB (def 1M)
-s, --summary equivalent to -da, or -d1 -a1M
-u, --usage report real disk usage instead of file size
-b, --bytes print sizes in bytes
-f, --files-only skip directories for a fast local overview
-x, --exclude NAME exclude matching files or directories
-H, --no-hidden exclude hidden files
-A, --ascii ASCII characters only, no colors
-h, --help show help
-v, --version print version number
Running the below command will globally uninstall the sizr
binary.
cargo uninstall sizr
Remove the project repo
rm -rf /path/to/git/clone/sizr
We welcome contributions!
git checkout -b my-feature
;git commit -m "feat: my new feature"
;git push origin my-feature
.Once your pull request has been merged, you can delete your branch.
This project is licensed under the MIT License - see the LICENSE file for details.