From owner-freebsd-questions Fri Nov 17 14:18:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from iguana.skymind.com (adsl-216-103-84-145.dsl.snfc21.pacbell.net [216.103.84.145]) by hub.freebsd.org (Postfix) with ESMTP id AF47B37B479 for ; Fri, 17 Nov 2000 14:18:33 -0800 (PST) Received: from localhost (localhost.skymind.com [127.0.0.1]) by iguana.skymind.com (8.9.3/8.9.3) with ESMTP id OAA11734; Fri, 17 Nov 2000 14:18:30 -0800 (PST) (envelope-from ocrow@skymind.com) Date: Fri, 17 Nov 2000 14:18:30 -0800 (PST) From: Oliver Crow To: Philip Hallstrom Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Need a "find / -newer date_string" type of program... 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 On Fri, 17 Nov 2000, Philip Hallstrom wrote: > Does anyone know of a "find"-like program that has a "find all > files newer than a specified date" option? This would be very similar to > find's -newer file "newer than file" option, but I want to specify a date > instead of a file. You can use 'touch' to turn a date into a file (so to speak). To find files newer than yesterday, for example: touch -t 200011160000 /tmp/timefile find . -newer /tmp/timefile rm /tmp/timefile Oliver To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message