NerdVana

If at first you don't succeed, call it version 0.1

Recursive dir sizing quickie

Written by Eric Schwimmer

If you want to get the on-disk size of all entries in a directory (both files and subdirectories), and have it sorted and pretty-printed, run this:

du -s * | sort -rn | numfmt --from-unit=1K --to=si --round=nearest --padding=4


comments powered by Disqus