Looking for files older than n number of days?
Paul Schmehl
pauls at utdallas.edu
Mon Jun 6 03:15:21 GMT 2005
--On June 5, 2005 10:01:23 PM -0400 Francisco Reyes <lists at natserv.com>
wrote:
> Looking at the man page for find I see several ways to look for files
> exactly N days old or newer than N days, but did not see a flag for files
> older than N number of days.. like files older than 90 days... Did I miss
> it?
>
Use negation.
find ! -n 10 blah
Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/
More information about the freebsd-questions
mailing list