Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Alex Nord <alex_nord@jabil.com>
Subject: Re: Help - For the UNIX command Gods
Date: 1997/02/14	[thread overview]
Message-ID: <33048D46.3750@jabil.com> (raw)
In-Reply-To: 5dpjeo$rn1$1@surz03fi.HRZ.Uni-Marburg.DE


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



      parent reply	other threads:[~1997-02-14  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-10  5:00 Help - For the UNIX command Gods Jeff Shervey
1997-02-10  5:00 ` Marek Pola
1997-02-11  5:00 ` Juergen Schroeder
1997-02-13  5:00   ` Matt Foster
1997-02-14  5:00   ` Alex Nord [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox