From owner-freebsd-bugs Tue Sep 4 6:10: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BB7437B408 for ; Tue, 4 Sep 2001 06:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f84DA1m88374; Tue, 4 Sep 2001 06:10:01 -0700 (PDT) (envelope-from gnats) Date: Tue, 4 Sep 2001 06:10:01 -0700 (PDT) Message-Id: <200109041310.f84DA1m88374@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: bin/30309: New FIND(1) option Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/30309; it has been noted by GNATS. From: Ruslan Ermilov To: Nils M Holm Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/30309: New FIND(1) option Date: Tue, 4 Sep 2001 15:59:30 +0300 On Tue, Sep 04, 2001 at 02:45:11PM +0200, Nils M Holm wrote: > > I have added the -nt (newer than) option to FIND(1) which > allows to search for files with at least/at most a given age. > For example, > > find . -nt 5h30m > > will list files with an age of at least 5 hours and 30 minutes. > > I use this option for cleaning up spool directories. > > Man pages are updated. > What do you think of just extending the -mtime functionality so that it accepts time units in hours and minutes? Then the above would be equivalent to: find . ! -mtime +5h30m Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message