Highly parallelized, blazing fast directory tree analyzer.
pdu
is a CLI program that renders a graphical chart for disk usages of files and directories, it is a replacement of dust
and dutree
.
Both dust
(v0.5.4) and dutree
(v0.12.5) do not utilize the parallel computing capability of Rust to improve performance.
The benchmark was generated by a GitHub Workflow and uploaded to the release page.
pdu
v0.0.0 against dust
, dutree
, and du
(lower is better)
sh
./test.sh && ./test.sh --release
Environment Variables
| name | type | default value | description |
|---------------|-------------------|---------------|-------------------------------------------------|
| FMT
| true
or false
| true
| Whether to run cargo fmt
|
| LINT
| true
or false
| true
| Whether to run cargo clippy
|
| BUILD
| true
or false
| true
| Whether to run cargo build
|
| TEST
| true
or false
| true
| Whether to run cargo test
|
| BUILD_FLAGS
| string | (empty) | Space-separated list of flags for cargo build
|
| TEST_FLAGS
| string | (empty) | Space-separated list of flags for cargo test
|
sh
./run pdu "${arguments[@]}"
"${arguments[@]}"
: List of arguments to pass to pdu
.sh
./generate-completions.sh
parallel-disk-usage
The parallel-disk-usage crate is both a binary crate and a library crate. If you desire features that pdu
itself lacks (that is, after you have asked the maintainer(s) of pdu
for the features but they refused), you may use the library crate to build a tool of your own. The documentation for the library crate can be found in docs.rs.
Go to the GitHub Release Page and download a binary.
Prerequisites:
* cargo
sh
cargo install parallel-disk-usage --bin pdu
Prerequisites:
* An AUR helper, such as paru
sh
paru -S parallel-disk-usage-bin
sh
paru -S parallel-disk-usage
Follow the installation instruction then run the following command:
sh
sudo pacman -S parallel-disk-usage