Thursday, March 25, 2010

Find the large hidden files in your file system

find {/path/to/yourdirectory} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
where $8 will show your directory and $5 size of the directory.