cd /
find / -type f -size +10000k -exec ls -lh {} \; | awk '{ print $5 ": " $9 }' |sort -n | mail -s "files over 10000k" cschwieterman@xxxxxxxxxxxxx.com
cd /
find / -type f -size +50000k -exec ls -lh {} \; | awk '{ print $5 ": " $9 }' |sort -n
Change the 10000k or 50000k to the size you need.
Showing posts with label File Sizes. Show all posts
Showing posts with label File Sizes. Show all posts
Saturday, April 24, 2010
Subscribe to:
Posts (Atom)