Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 06:23:16 -0500 (CDT)
From:      Corey Brune <corey@cpsgroup.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Find Command
Message-ID:  <Pine.BSF.4.10.9907210622250.621-100000@cbrune.cpsgroup.com>
In-Reply-To: <Pine.BSF.4.10.9907210547120.273-100000@cbrune.cpsgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I just read the last half of your email, try this
find . -atime +30 -exec rm {} \;

On Wed, 21 Jul 1999, Corey Brune wrote:

> find . -atime +30
> This says find in the current directory ( the . ) any files that have not
> been accessed in 30 days.
> 
> 
> On Tue, 20 Jul 1999, Tom Tilmant wrote:
> 
> > I would like to setup a cron job that search for last access date >30 days
> > and remove the file.  Could someone help me with the find command that would
> > handle this.
> > 
> > Thanks
> > 
> > Tom
> > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907210622250.621-100000>