/ Published in: Awk

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
du --max-depth 1|sort -n|awk '{ $1=$1/1024; printf "%.2f MB: %s\n",$1,$2 }'
URL: http://till.klampaeckel.de/blog/archives/114-Find-space-hogs-and-prettify-output-using-AWK.html
Comments
