Combining a couple command line utilities, we can easily get the size of directories (or files if so desired) and sort them:
$ du -sh */ | sort -hr
The trailing slash is important.
Combining a couple command line utilities, we can easily get the size of directories (or files if so desired) and sort them:
$ du -sh */ | sort -hr
The trailing slash is important.