$ du -h --max-depth=1
Then to sort this list, redirect it to a file such as mysize and run the following to get an ascending list of offenders in the hundreds of MB:
$ du -h --max-depth=1 > mysize
$ grep -e [0-9][0-9][0-9]M mysize | sort
And of course run a simple grep G mysize to see gigabyte offenders.
No comments:
Post a Comment