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 > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 06-07-2006
B14speedfreak B14speedfreak is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 55
Lightbulb

Come across a possibly simpiler way (un specified way), you can do the following if you want delete old files:

HTML Code:
find [path] -mtime +[integer] -exec rm {} \;
This essentially will allow you delete all files in a directory over a certain age, not sure if this is of interest to anyone but it will sort out my problem, I am guessing that you could do something similar with the above as well so that you can delete a pile of files