From owner-freebsd-questions Wed Jul 21 3:56:35 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 6A55815477 for ; Wed, 21 Jul 1999 03:56:15 -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 FAA00319 for ; Wed, 21 Jul 1999 05:53:28 -0500 (CDT) (envelope-from corey@cpsgroup.com) Date: Wed, 21 Jul 1999 05:53:28 -0500 (CDT) From: Corey Brune Reply-To: cbrune@cpsgroup.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Find Command In-Reply-To: <000001bed321$118409c0$130a70d8@tilmant.com> 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 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