by someperson · 6y ago · 0 comments
I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.
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}'\'
du | sort -n
(I've got it aliased to "dun".)