in reply to Are there canned fileserver grooming scripts?
have been around and used for a long time.find / -mtime +7 -o -size +5000000c | mail -s 'Old and big files' mikf +ire
If you wanted to get fancy, you could even try:
which will basically dump a stat(3) on each file.find / -mtime +7 -o -size +5000000c -ls | mail -s 'ls of Old and big f +iles' mikfire
Seeking the proper tool for the job at hand,
mikfire
|
|---|