From: Holger.VanKoll@SWISSCOM.COM
Date: Tue Dec 10 2002 - 09:57:48 EST
this gives the files modified within the last 24 hours
so for me it would only work if I can run it at 0:00 ; but I can`t in
all cases
-----Original Message-----
From: Saxon, Lamar [mailto:Lamar.Saxon@AMERICREDIT.COM]
Sent: Tuesday, December 10, 2002 3:45 PM
To: aix-l@Princeton.EDU
Subject: Re: finding files modified yesterday
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