On Thu, 2004-07-22 at 09:53, James Melin wrote:
> I am wondering what string of commands are necessary to delete all
> files in
> a directory that were created more than 5 days previously. I know it's
> gonna be a compound command and/or script but I'm not sure what
> exectly to
> code. Anyone have anything in their bag of tricks I could adapt?
>
find /tmp -mtime +5 -exec rm {} \;
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390