Wednesday, 23 April 2008

Find large files

To find all files with a size greater than 6GB use the following:

find / -type f -size +600000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'