commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Provides numerically sorted human readable du output. I so wish there was just a du flag for this.
There is 1 alternative - vote for the best!
This allows the output to be sorted from largest to smallest in human readable format.
OSX's BSD version of the du command uses the -d argument instead of --max-depth.
as per eightmillion's comment.
Simply economical :)
If you can do better, submit your command here.
You must be signed in to comment.