Date: Mon, 29 Jul 2002 12:16:42 -0500 From: C Peter Biessener <pbiessener@hirshfields.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: find question Message-ID: <3D45787A.9080903@hirshfields.com> References: <3D45772B.50002@hirshfields.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D45787A.9080903>