Live data from Hacker News

Duf: Disk Usage/Free Utility

github.com

31–40 of 46 posts

Re: Duf: Disk Usage/Free Utility

#31

Filelight is convenient if you prefer a GUI for this sort of exploration. https://kde.org/applications/en/filelight

I personally have used k4dirstat, but while finding it's webpage I found out that there's a more modern fork/recreation called qdirstat that doesn't need kde either called qdirstat. https://github.com/shundhammer/qdirstat

Re: Duf: Disk Usage/Free Utility

#32

Filelight is convenient if you prefer a GUI for this sort of exploration. https://kde.org/applications/en/filelight

I personally have used k4dirstat, but while finding it's webpage I found out that there's a more modern fork/recreation called qdirstat that doesn't need kde either called qdirstat. https://github.com/shundhammer/qdirstat

There's also windirstat for windows.

https://windirstat.net/

Re: Duf: Disk Usage/Free Utility

#33
Haven’t tried it yet but the —hide-network option sounds really useful to me. The number of times I’ve been looking for free space on local file system when I have some massive ntfs remote file system mounted and trying to get that excluded from other utilities is a massive pain in the butt.

Re: Duf: Disk Usage/Free Utility

#34

Earlier quoted context omitted.

Another option is du | sort -n (I've got it aliased to "dun".)

Or human readable. This is what I usually use: du -sh * | sort -h

Wow thanks for sort -h (sorting by human representation, 2M>150k) gnu tools never cease to amaze me.

Re: Duf: Disk Usage/Free Utility

#36

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}'\'

Re: Duf: Disk Usage/Free Utility

#38
post #27
post #11

Earlier quoted context omitted.

There is also Duc: https://duc.zevv.nl/ . It has a both a Tui and a Gui, but can also do nifty CGI things (shameless plug)

I love duc but man is it nearly impossible to build.

author here. please drop your grievances in a github issue t see if we can help you out, because building should be a simple as "configure && make && make install"

Re: Duf: Disk Usage/Free Utility

#40

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.

also dust https://github.com/bootandy/dust
Post reply on HN