The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Find Command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-31-2008
arunkumar_mca arunkumar_mca is offline
Registered User
 

Join Date: Oct 2004
Posts: 215
this is a small example

which will remove the file xxx* which has not accessed 14 days before


find your directory -name "xxx*" -mtime +14 -exec rm "{}" ";"


Cheers,
Arun
Reply With Quote