From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96237152125927.tru64-unix-managers.marc@archive.invalid> From: Jonathan Burelbach Date: Fri, 30 Jun 2000 13:24:44 +0000 To: tru64-unix-managers Subject: DEC find vs. GNU find X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96237152125927 I seem to have stumbled over an interesting DECism with 4.0 find. When looking for files older than N days you can say "find . -ctime +N" On DEC if N is say 2 that means files created > 72 Hours ago. if you say "find . \( -ctime +2 -o -ctime 2 \)" I would assume you would find files created >72 hrs ago and 48-72 hrs ago, but you get >72 & 24-48 hrs. To get >48 hrs N must = 1. The GNU find and Solaris find work the way I would expect. Who's right? or am I just being stupid and that's the way it oughta be. Jon -- =========+=========+=========+=========+=========+=========+=========+ Jonathan Burelbach jburelba@mail.nih.gov Unix Systems Adminstrator jburelba@topaz.cit.nih.gov NIH/CIT/DCSS/SOSB;12 South Dr.;Bldg 12B/2N207;Bethesda (301) 496-7372