From: Saxon, Lamar (Lamar.Saxon@AMERICREDIT.COM)
Date: Tue Dec 10 2002 - 09:45:08 EST
Doesn't
find <location i.e. /home> -mtime -1 -ls
tell you what you want ? -mtime for modified time, -1 for less than 1 day
Lamar
-----Original Message-----
From: Holger.VanKoll@SWISSCOM.COM [mailto:Holger.VanKoll@SWISSCOM.COM]
Sent: Tuesday, December 10, 2002 8:38 AM
To: aix-l@Princeton.EDU
Subject: finding files modified yesterday
Hello,
I need to find all files in /somewhere that have been modified yesterday.
So far I use touch -t todays_date_0:00 /tmp/timestamp and find -new
/tmp/timestamp to find all files modified earlier than today.
How can I filter out the files modified 2,3,4... days before?
I should have a way that does not rely on certain TZ or LC* settings.
Regards,
Holger
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:24 EDT