Duf: Disk Usage/Free Utility
github.com
github.com
I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.
du | sort -n
(I've got it aliased to "dun".)
du -sh * | sort -halias 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}'\'
du --max-depth=1 -h | gsort -hI dont prefer glances because of its dependencies of python and i really avoid installing big dependencies unless I feel its required for most of the other packages/use cases.
I wish there were more disk space analyzer like it that use rectangular blocks of space rather than circles which I find harder to read how much space they actually take on disk.
$ btrfs fi df
$ btrfs fi usMy two volumes sharing a drive have separate percentages that look quite healthy, but their combined percentage reveals that I am perilously short on space. Duf doesn't know to combine these percentages. DaisyDisk (a wonderful GUI app for managing MacOS disk space) makes the problem clear.
https://beijaflor.io/blog/06-2020/filesaver-freeing-up-space...
i.e duf directory
Package info from Debian: https://packages.debian.org/sid/x11/xdiskusage