find <dir path> -mtime +5 -exec rm {} \;


On Thu, 22 Jul 2004 09:53:02 -0500, James Melin <[EMAIL PROTECTED]> 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?



--

_____________________________________________________
Thanks, Bob

YahooIM: bobif
AOLIM: bobifmd
ICQ: 111083556
MSN: [EMAIL PROTECTED]

MCSE and CNE trained, but use LINUX, declare your PC a Microsoft free zone

----------------------------------------------------------------------
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

Reply via email to