Friday, 13 April 2012

Linux Find

I was always a little hesitant to play with the Find command.  The Man page alone is 40 pages long.  :)

find  -mtime +360 -name *.zip -exec rm {} \;


This will find all files over 360 days old and delete them

No comments:

Post a Comment