Saturday, August 13, 2011

Find large files in a linux file system

Use this command to search from the root of the file system for files larger then 100M.

find / -type f -size +100000k -exec ls -lSh {} \;

Of course you can edit the size and location to be searched easily.