Ah, thanks for the explanation. Using + in this case did fix the problem, when I was testing I must have been looking at the wrong time.
Excellent description, and now that I've looked at the timeline the -/+ difference makes sense. > -----Original Message----- > From: Robert P. J. Day [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 6:44 PM > To: [EMAIL PROTECTED] > Subject: RE: Find -mtime doesn't seem to work properly. > > > On Thu, 5 Dec 2002, Wayne Holdcroft wrote: > > > Hi > > > > Make the 4 into a +4 and see if that helps. > > > > Bye > > there is a subtlety with finding based on mtime, atime or > ctime that's worth knowing. for all of these, the days value means > (and i'll just use one example): > > -mtime 3 # between 3 and 4 days ago > -mtime +3 # more than 4 days ago > -mtime -3 # less than 3 days ago > > so, using a timeline, we have > > > |--------|--------|--------|--------|--------|- .. going back in time > now 1 2 3 4 5 > > <----------- -3 -----------><-- 3 -->< ------ +3 -------- ... > > so those three possibilities cover all possible times nicely. > > in addition, if you're anal retentive, you can use the more > refined options -mmin, -amin, -cmin which let you select > based on times to the minute. > > rday > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list