My Oracle Diary
Search This Blog
Monday, April 2, 2012
remove old files in a directory
find location -mtime +5 -exec rm {} \;
removes files which are older than 5 days.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment