find(1) question about mtime

Larry W. Virden lwv at n8emr.UUCP
Tue Apr 4 01:09:50 AEST 1989


I am using find on both Ultrix 2.3 and SunOS 4.0.1 on a 386i.  I have
a file whose ls -l date (documented as the modification time) is
April 1, 1989 at 9:09 am.  On my machine, it is after 10am on April 3.
I run find filename -mtime +1 -print.  My file's name does not appear.
I run find filename -mtime 1 -print.  My file's name DOES appear.

Note that it is more than 48 hours after the modification time.  Why does
find insist that the mtime is only 1 day old?

-- 
Larry W. Virden	 674 Falls Place, Reynoldsburg, OH 43068 (614) 864-8817
75046,606 (CIS) ; LVirden (ALPE) ; osu-cis!n8emr!lwv (UUCP) 
osu-cis!n8emr!lwv at TUT.CIS.OHIO-STATE.EDU (INTERNET)
The world's not inherited from our parents, but borrowed from our children.



More information about the Comp.unix.questions mailing list