From owner-freebsd-questions Tue Jul 20 20:29:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 3D4DC15436 for ; Tue, 20 Jul 1999 20:29:27 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id XAA07218; Tue, 20 Jul 1999 23:30:43 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199907210330.XAA07218@cc942873-a.ewndsr1.nj.home.com> Subject: Re: Find Command In-Reply-To: <000001bed321$118409c0$130a70d8@tilmant.com> from Tom Tilmant at "Jul 20, 99 07:30:59 pm" To: tilmant@metacreations.com (Tom Tilmant) Date: Tue, 20 Jul 1999 23:30:43 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. ^^^^ find(1) See, 'man find'. In particular, the '-atime' switch. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message