The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-29-2008
Franklin52 Franklin52 is offline Forum Staff  
Moderator
  
 

Join Date: Feb 2007
Posts: 4,293
Code:
-ctime +190 -type f -exec echo rm {} \;
These are options of the find command, it should be something like:

Code:
find /your/path/ -ctime +190 -type f -exec rm {} \;
Try the command first without -exec rm {} \; to be shure you have the right output.

Regards