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 1GTOry-0007FT-LZ for garchives@archives.gentoo.org; Fri, 29 Sep 2006 20:22:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8TKKt4o022604; Fri, 29 Sep 2006 20:20:55 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8TKF4Dv004282 for ; Fri, 29 Sep 2006 20:15:04 GMT Received: by nf-out-0910.google.com with SMTP id p46so1464586nfa for ; Fri, 29 Sep 2006 13:15:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pPw5IVkaqfvUjBNuCkFP6plTZXnnTsz6AQrETTDVnCUhYExH7k6FMsN/oJjjfmMXb5VXxechsV0cugUE2geXKWkdNi9vreud77ElKaX5aQNO6fIHKz2PaW8mD9GcCRJinLf4m8O8K75PeRbEAPKFol2Nq1Gwa167Tx9bjE+PYz4= Received: by 10.82.114.3 with SMTP id m3mr74717buc; Fri, 29 Sep 2006 13:15:03 -0700 (PDT) Received: by 10.82.126.14 with HTTP; Fri, 29 Sep 2006 13:15:02 -0700 (PDT) Message-ID: <7573e9640609291315p2b03fea9l5042e4b0352a8244@mail.gmail.com> Date: Fri, 29 Sep 2006 13:15:02 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Re: date-specific cp/mv In-Reply-To: <451D775F.5010209@ilievnet.com> 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> X-Google-Sender-Auth: 5ec8e63ed1155deb X-Archives-Salt: fc808ef0-227a-4b76-9988-176fadf72b1d X-Archives-Hash: b16f043ba4ab419e54b836bd97afcf1d 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 -- gentoo-user@gentoo.org mailing list