From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 12:26:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82B9F37B401 for ; Tue, 8 Apr 2003 12:26:29 -0700 (PDT) Received: from lilzcluster.liwest.at (lilzclust01.liwest.at [212.33.55.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 550BA43FBF for ; Tue, 8 Apr 2003 12:26:28 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from CM58-27.liwest.at by lilzcluster.liwest.at (8.10.2/1.1.2.11/08Jun01-1123AM) id h38JQDI0000978019; Tue, 8 Apr 2003 21:26:13 +0200 (MEST) Content-Type: text/plain; charset="iso-8859-1" From: Daniela To: David Banning , questions@freebsd.org Date: Tue, 8 Apr 2003 21:27:11 +0200 User-Agent: KMail/1.4.3 References: <20030408151104.A32743@skytrackercanada.com> In-Reply-To: <20030408151104.A32743@skytrackercanada.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304082127.11901.dgw@liwest.at> Subject: Re: how to find file older than... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 19:26:29 -0000 On Tuesday 08 April 2003 21:11, David Banning wrote: > I want to delete files that are older than 1/2 hr in a particular > directory. the only way I can think of doing it is by doing > a "test" and comparing the date to another file. I would then > have to create -that- comparison file 1/2 hour before. > > Is there an easier way? Look at: man find man crontab