|
Have you tried combining `Find()` and `xargs()`? Do something like....
find -name '*log' -size +1000k| xargs rm *log
This would search for any file that is larger then 1000k and delete them...
In your case, the Find() switch to use should be "-atime n" ; The man page reads" True if the file was accessed n days ago. ".
Good luck.
Last edited by alan; 04-14-2008 at 09:25 AM.
|