Return to Snippet

Revision: 32149
at September 19, 2010 19:09 by nohn


Initial Code
du --max-depth 1|sort -n|awk '{ $1=$1/1024; printf "%.2f MB: %s\n",$1,$2 }'

Initial URL
http://till.klampaeckel.de/blog/archives/114-Find-space-hogs-and-prettify-output-using-AWK.html

Initial Description

                                

Initial Title
Sort Directories by Size (Human Readable)

Initial Tags
sort, Bash

Initial Language
Awk