- April 24, 2013
- Posted by: dchhabra
- Category: Uncategorized
No Comments

Finding old files, use this first :-
find startdir -type f -mtime +30 -exec ls -l {} ;
To remove these files use this :-
find startdir -type f -mtime +30 -exec rm -f {} ;
for e.g
find . -name *.log.* -mtime +90 -exec ls -tl {} ;