diskus
diskus copied to clipboard
A minimal, fast alternative to 'du -sh'
This should fix #27. I basically removed `rayon` and handled the threads manually using `crossbeam`. I also took the liberty to make the `diskus` binary use the `diskus` library instead...
With a sufficiently large directory, the threads can overflow their stacks because `walk()` is recursive. I encountered a similar issue when rewriting the `du` implementation in [`uutils/coreutils`](https://github.com/uutils/coreutils), so I decided...
Hey, first time trying diskus, and while I can confirm that it's really fast here as well, I get a different result in total bytes on a local directory. 😕...
du supports follow symlinks with the -L option. There is no such option in diskus. I want to use diskus to calculate the size of packages in NixOS which makes...
Printed output on the screen does not match the output sent to stdout. For example: ``` $ diskus 23.24 MB (23,240,704 bytes) $ diskus | cat 23240704 ``` Now, I...
A similar tool in Rust - [dust](https://github.com/bootandy/dust) - handles junctions correctly. Might be worth a look.
Great tool! Would love to see the path in the output a la: ``` # diskus /tmp 57.87 MB (57,872,384 bytes) /tmp ``` Putting diskus in place greatly reduced the...
One of the most common use-cases for `du -hs` by far for me (and also what `dust` caters to), is to do `du -hs *` to find the largest directories...
Maybe I were doing it wrong. The computed directory is my clippy build. ```console % /usr/bin/du -sch 4.5G . 4.5G total % diskus 4.73 GB (4,727,521,280 bytes) % hyperfine diskus...