From owner-freebsd-questions Mon Jul 29 10:16:45 2002 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 BCA1D37B400 for ; Mon, 29 Jul 2002 10:16:43 -0700 (PDT) Received: from mailhost.hirshfields.com (mailhost.hirshfields.com [63.226.159.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 324C543E31 for ; Mon, 29 Jul 2002 10:16:43 -0700 (PDT) (envelope-from pbiessener@hirshfields.com) Received: from ultra.hirshfields.com (ultra.hirshfields.com [192.168.195.101]) by mailhost.hirshfields.com (8.11.4/8.11.4) with SMTP id g6THGge19007 for ; Mon, 29 Jul 2002 12:16:42 -0500 (CDT) Received: (qmail 717 invoked from network); 29 Jul 2002 17:16:31 -0000 Received: from spicer.hirshfields.com (HELO hirshfields.com) (192.168.195.244) by ultra.hirshfields.com with SMTP; 29 Jul 2002 17:16:31 -0000 Message-ID: <3D45787A.9080903@hirshfields.com> Date: Mon, 29 Jul 2002 12:16:42 -0500 From: C Peter Biessener User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020512 Netscape/7.0b1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Subject: Re: find question References: <3D45772B.50002@hirshfields.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I apologize, I was a little hasty in posting this question, the -mtime +n syntax does work. I failed to pay attention to my CWD. However, I am concerned that I had to dig out my reference book for the correct syntax. It should have been in the manpage. C Peter Biessener wrote: > Hello All, > > I want to do a simple find command to find all files older than X days. > > # find . -type f -mtime +14 -print > > Normally, I would expect the command above to find files modified more > than 14 days ago. The syntax is straight out of "UNIX in a Nutshell" by > O'Reilly & Associates. However, it does not work in FreeBSD. > > I did look at the manpage for find on our FreeBSD 4.1. The -mtime +n > syntax is not documented. How could such an essential feature not be > implemented in FreeBSD? > > > Thanks, > > Peter Biessener > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message