From: Jonathan Burelbach <jburelba () topaz ! cit ! nih ! gov>
To: tru64-unix-managers
Subject: DEC find vs. GNU find
Date: Fri, 30 Jun 2000 13:24:44 +0000 [thread overview]
Message-ID: <96237152125927.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2000-06-30 13:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox