A simple command-line utility written in Rust that displays the sizes of files and directories using horizontal bar charts.
It allows sorting by file name, size, or type.
π Recursively calculates sizes of files and directories
π€ Sort output by file name or file size
π Visual ASCII bar chart representation in terminal
cargo install --git https://github.com/EricFrancis12/ds
ds [OPTIONS] [DIR]
[DIR]: (optional) Path to the target directory. Defaults to the current directory.
-n, --name: Sort entries alphabetically by name-s, --size: Sort entries by size (largest first)-t, --type: Sort entries by type (directories first, then files)
# Run in current directory (default) ds # Analyze a specific directory ds /path/to/dir # Sort by name ds -n /path/to/dir # Sort by size ds -s /path/to/dir # Sort by type ds -t /path/to/dir