DEV Community

Discussion on: Three hacks and commands to use in your terminal.

Collapse
 
bdmorin profile image
Brian

github.com/uutils/coreutils this rust written du is crazy fast. Also ncdu is great because it maintains an index, you can update it via cron, and use it in prompt lines - requires tokyocabinet though, which some people dislike.

if you have multiple cores, check out this rust rewrite of du.
github.com/sharkdp/diskus
It's unreasonably fast.

Thanks for the tips!

Collapse
 
antonrich profile image
Anton

Gosh, I like Rust. Thanks, for sharing.

Collapse
 
antonrich profile image
Anton

But I will probably later look more into github.com/vmchale/tin-summer

Collapse
 
antonrich profile image
Anton

Do you know what it means?

diskus: could not contents of directory './.gvfs'
Collapse
 
bdmorin profile image
Brian

Did you get this figured out?

Thread Thread
 
antonrich profile image
Anton

No, I haven't yet. Mainly, because diskus doesn't do the same thing in comparison to du.
Maybe I missed some options but diskus weighs my whole drive. I need to weigh the folders separately.