Find large directories in linux

Folders over 1 Gigabyte:

du -h / | grep ^[0-9.]*G | sort -rn

Folders over 100 Megabytes:

du -h / | grep ^[1-9][0-9][0-9][0-9.]*M | sort -rn

Leave a Reply

Your email address will not be published. Required fields are marked *