From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1b174d410774f6be X-Google-Attributes: gidfee84,public From: Alex Nord Subject: Re: Help - For the UNIX command Gods Date: 1997/02/14 Message-ID: <33048D46.3750@jabil.com>#1/1 X-Deja-AN: 218837812 References: <01bc176a$afefecc0$b6ee1bac@usbgrjeff> <5dpjeo$rn1$1@surz03fi.HRZ.Uni-Marburg.DE> Content-Type: text/plain; charset=us-ascii Organization: Jabil Circuit, Inc. Mime-Version: 1.0 Reply-To: alex_nord@jabil.com Newsgroups: comp.unix.osf.osf1 X-Mailer: Mozilla 3.0Gold (WinNT; I) Juergen Schroeder wrote: > > Jeff Shervey (jeff.shervey@us.landisstaefa.com) wrote: > : I just want the ability to delete files that are 10 days or older... > : I know it's something with a "find . ???? | rm or an exec command at the end. The exact syntax (when run from the base directory you want to start searching) would be : find . -atime +10 -exec rm {} Just watch out where you run a command like this from. If you were to run it from the root directory with root access, you could hose a LOT of necessary files...