Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Other Topics > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2007, 03:02 PM
Fluffy_Shark Fluffy_Shark is offline
Member
 
Join Date: Aug 2007
Posts: 56
Default Re: shell script question

A very easy solution would be something like:

find /path/to/dir -mtime X -delete

This should delete all files in the directory older than X days. I haven't tried it so just look it up in the find manual if there are problems.

-Fluffy_Shark
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.