Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hpda!hpcupt1!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.unix.questions Subject: Re: "find" and {a,c,m}time Message-ID: <14660003@hpsal2.HP.COM> Date: 11 Oct 88 05:56:50 GMT References: <170@libove.UUCP> Organization: HP System Architecture Lab, Cupertino Lines: 27 > I use "find (files) | afio (etc...)" to backup my SCO Xenix 286 v2.2.1 > filesystem, which is at around 80 megabytes right now. I would like to > be able to do incremental backups, but I'm having a problem... > find pathname-list expression > ... > -atime n True if the file has been accessed in n days. > -ctime n True if the file has been changed in n days. > -mtime n True if the file has been modified in n days. > Okay, so "find -?time 3 -print" should find all files ?'d within the > last three days, right? Nope. ---------- You didn't read the man page carefully enough. Earlier in the page it says (or at least it does on my system): In the descriptions of the primaries, the argument n is used as a decimal integer where +n means more than n, -n means less than n and n means exactly n. This says that a "find -mtime -3 -print" will find all files modified within the last 3 days. Hope this helps, Michael