9/19/2005
Find Large Files Wasting Disk Space
Find files over 8000k on all mounted drives and print the filesize and path:
find /$1 -mount -size +8000k -exec ls -sh {} \;
This one is suitable for a cron job. It does the same, sorts by filesize and mails the result to the supplied email address.
find /$1 -mount -size +8000k -exec ls -sh {} \; | /bin/sort -n | mail email@domain.com
Adjust the 8000k to search for larger or smaller files.
Popularity: 10%


