dub is du with -h human readable output sorted by size. Compare:
> du -h -d 1
0B ./Colloquy Transcripts
14G ./Library
23G ./Personal
673M ./Work
37G .
> dub -h -d 1
37.0G .
23.0G ./Personal
14.0G ./Library
673.0M ./Work
0.0B ./Colloquy Transcripts
- Mac OS X
- Ruby 1.8.7
- Ensure /usr/local/bin is in your PATH variable
`> echo $PATH`
- Copy 'dub' to /usr/local/bin
`> sudo cp dub /usr/local/bin`
du [-H | -L | -P] [-a | -s | -d depth] [-c] [-h | -k | -m | -g] [-x]
[-I mask] [file ...] -G
-G Enable colorized output.
'man du' for details