Re: find problem

From: Aaron Morris (aaronmorris@MINDSPRING.COM)
Date: Fri Oct 03 2003 - 00:25:58 EDT


Gipson, Mat wrote:
> Here is my issue: When running #find . -mtime -7 -exec ls -ltR {} \; to
> find files that have been created within the last 7 days it returns all
> files in the directory. However, when I do #find . –mtime +7 -exec ls
> -ltR {} \; it works properly in that it returns all files older than 7
> days…nothing newer than 7 days. This is an AIX4.3 ML10 server. Any
> suggestions?
>
>
>
> Thanks,
>
> Mathew Gipson

#find . -mtime 7 -exec ls -ltR {} \; will probably do what you want.

--
Aaron W Morris <aaronmorris@mindspring.com> (decep)


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:15 EDT