Go to file
bootandy 4d1f881c17 fix: inodes are only unique with dev
First iteration adding dev to inodes to form a tuple to go into our
'have we seen this before' hashset.
inodes are not unique across partitions
2018-03-21 19:50:08 -04:00
2018-03-19 16:11:55 -04:00
2018-03-21 19:50:08 -04:00
2018-03-16 15:51:44 -04:00
2018-03-19 16:11:55 -04:00
2018-03-19 16:11:55 -04:00
2018-03-16 16:14:09 -04:00
2018-03-11 22:01:59 -04:00
2018-03-19 16:11:55 -04:00

Build Status

Dust

du + rust = dust. A rust alternative to du

Unlike du, dust is meant to give you an instant overview of which directories are using disk space without requiring sort or head. Dust does not count file system blocks; it uses file sizes instead. Dust will print a maximum of 1 'Did not have permissions message'.

Dust will list the 15 biggest sub directories and will smartly recurse down the tree to find the larger ones. There is no need for a '-d' flag or a '-h' flag. The largest sub directory will have its size shown in red

Usage: dust <dir>
Usage: dust -n 30  <dir>  (Shows 30 directories not 15)
dust .
 161M  .
 160M └── ./target
 123M    ├── ./target/debug
  83M    │  ├── ./target/debug/deps
  16M    │  │  ├── ./target/debug/deps/libclap-82e6176feef5d4b7.rlib
 8.6M    │  │  └── ./target/debug/deps/dust-993f7d919d92f0f8.dSYM
 8.6M    │  │     └── ./target/debug/deps/dust-993f7d919d92f0f8.dSYM/Contents
 8.6M    │  │        └── ./target/debug/deps/dust-993f7d919d92f0f8.dSYM/Contents/Resources
  27M    │  ├── ./target/debug/incremental
  12M    │  └── ./target/debug/build
  20M    ├── ./target/x86_64-apple-darwin
  20M    │  └── ./target/x86_64-apple-darwin/debug
  20M    │     └── ./target/x86_64-apple-darwin/debug/deps
  16M    │        └── ./target/x86_64-apple-darwin/debug/deps/libclap-7e3f8513c52cd558.rlib
  16M    └── ./target/release
  13M       └── ./target/release/deps

Performance: dust is currently about 4 times slower than du.

Description
A more intuitive version of du in rust
Readme Apache-2.0 1.6 MiB
Languages
Rust 76.8%
Shell 7.9%
PowerShell 7.7%
Elvish 4.1%
Roff 3.5%