Live data from Hacker News

Duf: Disk Usage/Free Utility

github.com

41–46 of 46 posts

Re: Duf: Disk Usage/Free Utility

#41

I have been using Spacesniffer [0] for over a decade now. But glad to see some new attempts in the space for disk usage. [0] http://www.uderzo.it/main_products/space_sniffer/

While I love the animation and zooming in and out of folder, I found that WizTree [0] is by far the fastest reading the file structure and sizes. Neither SpaceSniffer nor WinDirStat can compare to its speed.

[0] https://wiztreefree.com/

Re: Duf: Disk Usage/Free Utility

#44

For a CLI alternative to manually running `du -sh *` recursively to try and find which directory is taking up your space I recommend `ncdu`. I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.

`rclone ncdu` for cloud storages.

Re: Duf: Disk Usage/Free Utility

#45

For a CLI alternative to manually running `du -sh *` recursively to try and find which directory is taking up your space I recommend `ncdu`. I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.

i have an alias that shows each folder in the current directory humanized... might have been slightly modified from one where i got it to work on macos. duf == disk utilization folders. a caveat is that it can be a bit slow if there are a lot of files/subdirectories. alias duf='du -sk * | sort -n | perl -ne '\''($s,$f)=split(m{\t});for (qw(K M G)) {if($s<1024) {printf("%.1f",$s);print "$_\t$f"; last};$s=$s/1024}'\'

What's the difference vs:

  du --max-depth=1 -h | gsort -h

Re: Duf: Disk Usage/Free Utility

#46

Earlier quoted context omitted.

i have an alias that shows each folder in the current directory humanized... might have been slightly modified from one where i got it to work on macos. duf == disk utilization folders. a caveat is that it can be a bit slow if there are a lot of files/subdirectories. alias duf='du -sk * | sort -n | perl -ne '\''($s,$f)=split(m{\t});for (qw(K M G)) {if($s<1024) {printf("%.1f",$s);print "$_\t$f"; last};$s=$s/1024}'\'

What's the difference vs: du --max-depth=1 -h | gsort -h

for one it works on osx... i don't know about the output. that said there are many ways to do something
Post reply on HN