From: Holger.VanKoll@SWISSCOM.COM
Date: Wed Oct 01 2003 - 10:23:00 EDT
try adding -type f
your list of alle files is probably a list of the directory... as that
as been modified
-----Original Message-----
From: Gipson, Mat [mailto:Mat.Gipson@AMERICREDIT.COM]
Sent: Wednesday, October 01, 2003 4:12 PM
To: aix-l@Princeton.EDU
Subject: find problem
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
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:15 EDT