#cli #disk #usage #tree #windirstat

bin+lib dirstat-rs

A disk usage cli similar to windirstat

8 releases

0.3.7 Dec 31, 2021
0.3.6 Dec 31, 2021
0.3.3 May 11, 2019
0.2.2 Jan 6, 2019

#1485 in Command line utilities

Download history 9/week @ 2022-12-01 6/week @ 2022-12-08 11/week @ 2022-12-15 9/week @ 2022-12-22 5/week @ 2022-12-29 7/week @ 2023-01-05 13/week @ 2023-01-12 11/week @ 2023-01-19 20/week @ 2023-01-26 13/week @ 2023-02-02 33/week @ 2023-02-09 27/week @ 2023-02-16 22/week @ 2023-02-23 11/week @ 2023-03-02 13/week @ 2023-03-09 23/week @ 2023-03-16

72 downloads per month

MIT license

83KB
290 lines

dirstat-rs

Fast, cross-platform disk usage CLI

Crates.io Docs.rs Language Platforms License

2X faster than du

4X faster than ncdu, dutree, dua, du-dust

6X faster than windirstat

(On 4-core hyperthreaded cpu)

Installation

Homebrew (macOS only)

brew tap scullionw/tap
brew install dirstat-rs

Or if you prefer compiling yourself

from crates.io:

    cargo install dirstat-rs

or latest from git:

    cargo install --git "https://github.com/scullionw/dirstat-rs"

or from source:

    cargo build --release
    sudo chmod +x /target/release/ds
    sudo cp /target/release/ds /usr/local/bin/

Usage

Current directory

    $ ds

Specific path

    $ ds PATH

Choose depth

    $ ds -d 3

Show apparent size on disk

    $ ds -a PATH

Override minimum size threshold

    $ ds -m 0.2 PATH

Dependencies

~5.5MB
~116K SLoC