Looking for files older than n number of days?

Dan Nelson dnelson at allantgroup.com
Mon Jun 6 02:28:27 GMT 2005

In the last episode (Jun 05), Francisco Reyes said:
> 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?

"find . -mtime +5" , or "find . -mtime +5d", depending on whether you
want 5 days as of the next midnight, or 5 days as of when find was

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list