From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GTPDH-0005d6-Ja for garchives@archives.gentoo.org; Fri, 29 Sep 2006 20:44:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8TKg9DL027349; Fri, 29 Sep 2006 20:42:09 GMT Received: from mail.ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8TKbias017324 for ; Fri, 29 Sep 2006 20:37:45 GMT Received: from [10.0.1.1] (mail.ilievnet.com [10.0.1.1]) by mail.ilievnet.com (Postfix) with ESMTP id 52F801A047FA7 for ; Fri, 29 Sep 2006 23:37:45 +0300 (EEST) Message-ID: <451D8418.5030804@ilievnet.com> Date: Fri, 29 Sep 2006 23:37:44 +0300 From: Daniel Iliev User-Agent: Thunderbird 1.5.0.5 (X11/20060929) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Re: date-specific cp/mv References: <8552033.uPuS59PaaG@m-id.message-center.info> <20060929162731.6662.qmail@web31710.mail.mud.yahoo.com> <7273450.DjkJpVUERN@m-id.message-center.info> <451D775F.5010209@ilievnet.com> <7573e9640609291315p2b03fea9l5042e4b0352a8244@mail.gmail.com> In-Reply-To: <7573e9640609291315p2b03fea9l5042e4b0352a8244@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 940743b0-d908-48a9-b6d4-d7c1719ab01a X-Archives-Hash: a773a50c057db5a726ffe64b6c5ce955 Richard Fish wrote: > On 9/29/06, Daniel Iliev wrote: >> tried all the variations, not that it is the exact command. I was also >> very pissed off when I had to discover that the "find manual page" isn't >> very correct. It never made clear that "-ctime 3" means "now plus 3 >> days" and "-ctime -3" means "now minus 3 days". > > Well the man page does have this paragraph in it (emphasis added): > > If you are using find in an environment where security is > important > (for example if you are using it to seach directories that are > writable > by other users), you should read the "Security Considerations" > chapter > of the findutils documentation, which is called Finding Files > and comes > with findutils. **That document also includes a lot more > detail and > discussion than this manual page, so you may find it a more > useful > source of information.** > > So you can get better documentation from the info pages by running > "info find.info". If you want specifics on the time options: > > # info find.info "Finding Files" "Time" > > BTW, in programmer speak, "now plus 3 days" would be interpreted as 3 > days in the future...which is _not_ how find works. To try and > clarify: > > -mtime 2 -> files modified between 48 and 72 hours ago. > -mtime -2 -> files modified in the last 2 days...the period between 0 > and 48 hours ago. > -mtime +2 -> files modified more than 48 hours ago > > HTH, > -Richard Point taken! Thanks for the clarification, Richard! -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list