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.
Saturday, April 24, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment