4 ms·
That's great, thanks! I've been doing the du -sh * tree crawl for far too long
by rschmitty 13y ago
That's great, thanks! I've been doing the du -sh * tree crawl for far too long
- jlgaddis 13y agoI have this aliased as 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}'\''