Andreas Metzler wrote: > On 2005-01-20 Wakko Warner <[EMAIL PROTECTED]> wrote: > > Package: findutils > > Version: 4.1.20-4 > > Severity: wishlist > > > I have a system that has a bad clock and files get dates way off in the > > future. Unfortunately, I'm unable to locate these files using find. > > How about this? > $ touch --date=tomorrow tomorrow ; touch now ; touch --date=yesterday > yesterday > $ find -mmin +0 -or -printf "File generated in future: %p%n" > File generated in future: ./tomorrow
I didn't think about +0, however, it's not quite obvious though. Actually, I was hoping for a way to see if a file was way off in the future Like say in 2007 or so. It's not a big deal which is why it's wishlist. I have often wanted a way to specify seconds as well. Like before/after $date. -- Lab tests show that use of micro$oft causes cancer in lab animals -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]