From owner-freebsd-questions Fri Nov 17 15: 9:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from oddjob.adhesivemedia.com (oddjob.adhesivemedia.com [207.202.159.77]) by hub.freebsd.org (Postfix) with ESMTP id 375B137B479 for ; Fri, 17 Nov 2000 15:09:12 -0800 (PST) Received: from localhost (philip@localhost) by oddjob.adhesivemedia.com (8.9.3/8.9.3) with ESMTP id PAA03410; Fri, 17 Nov 2000 15:09:00 -0800 (PST) (envelope-from philip@adhesivemedia.com) Date: Fri, 17 Nov 2000 15:09:00 -0800 (PST) From: Philip Hallstrom To: Matthew Hunt Cc: Oliver Crow , freebsd-questions@FreeBSD.ORG Subject: Re: Need a "find / -newer date_string" type of program... In-Reply-To: <20001117150133.A90703@wopr.caltech.edu> 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 I could use the 'touch' method, but would rather not... what I'm trying to do is get a listing (eg. ls -l) of all the files that dump is going to dump to tape for a given dump level. So what I'd like to do is parse /etc/dumpdates for the dump level, extract the date, and feed that to this app. The -mtime/mmin options won't work cause those are "==" not ">=". I know I could dump to tape, rewind, and then "restore tf" but that doesn't get me the long listing and it's kind of a pain... -philip On Fri, 17 Nov 2000, Matthew Hunt wrote: > On Fri, Nov 17, 2000 at 02:18:30PM -0800, Oliver Crow wrote: > > > You can use 'touch' to turn a date into a file (so to speak). > > To find files newer than yesterday, for example: > > There's also find's "-mtime" and "-mmin" options. Which of these > methods is easier will probably depend on your exact situation. > > -- > Matthew Hunt * Stay close to the Vorlon. > http://www.pobox.com/~mph/ * > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message