graphical representation of `du`

Mike Jeays mike.jeays at rogers.com
Sat Apr 2 17:34:21 UTC 2011


On Sat, 2 Apr 2011 17:15:04 +0100
Chris Rees <utisoft at gmail.com> wrote:

> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' |
> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,'


I confess to being impressed...


More information about the freebsd-questions mailing list