Tomasz Pewinski

Find directories size

A nice one-liner that I use. Outputs subdirectories of current directory along with their size (in megabytes), sorted increasingly.

du -m --max-depth=1 | sort -n -

Drop it in your $PATH, chmod +x and enjoy!

comments powered by Disqus