From owner-freebsd-questions Wed Jul 21 4:23:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cpsgroup.com (dallas-pix.bjke.com [216.207.61.67]) by hub.freebsd.org (Postfix) with ESMTP id A992E154D5 for ; Wed, 21 Jul 1999 04:23:21 -0700 (PDT) (envelope-from corey@cpsgroup.com) Received: from cbrune.cpsgroup.com (cbrune.cpsgroup.com [144.210.12.19]) by cpsgroup.com (8.9.3/8.9.3) with ESMTP id GAA00626 for ; Wed, 21 Jul 1999 06:23:16 -0500 (CDT) (envelope-from corey@cpsgroup.com) Date: Wed, 21 Jul 1999 06:23:16 -0500 (CDT) From: Corey Brune Reply-To: cbrune@cpsgroup.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Find Command In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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