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 1GTAIk-0001T7-5a for garchives@archives.gentoo.org; Fri, 29 Sep 2006 04:48:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8T4lX8b014956; Fri, 29 Sep 2006 04:47:33 GMT Received: from mail.ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8T4hGaH001168 for ; Fri, 29 Sep 2006 04:43:16 GMT Received: from [10.0.1.1] (mail.ilievnet.com [10.0.1.1]) by mail.ilievnet.com (Postfix) with ESMTP id 880881A091381 for ; Fri, 29 Sep 2006 07:43:15 +0300 (EEST) Message-ID: <451CA462.4090709@ilievnet.com> Date: Fri, 29 Sep 2006 07:43:14 +0300 From: Daniel Iliev User-Agent: Thunderbird 1.5.0.5 (X11/20060926) 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] date-specific cp/mv References: <20060929020019.28494.qmail@web31714.mail.mud.yahoo.com> In-Reply-To: <20060929020019.28494.qmail@web31714.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: e2eb6f29-2c44-4ec8-876d-3edc283c86fe X-Archives-Hash: ce39d9926b0a00d167cb7263acb1d838 maxim wexler wrote: >> find has many options related to searching by time >> (hours, >> minutes, etc) and you can select by atime, ctime or >> mtime. It's >> all in the man page >> > > I can't get it to work. I used -ctime, -mtime, -mmin. > The files were created on the 26th of this month using > abcde. All the other files in the dir are at least two > weeks old, so I gave it 72(hours) then 3(days) to grab > everything in the last three days then 96 and 4 just > to make sure. I gave it mmin with 4810(72*60 minutes) > and 5760(90*60). Every time nothing happens; nothing > is copied and no error message is generated. I gave it > relative dirs and absolute dirs. I used -type f and > -fstype . Nothing. > > -mw > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > I believe the right syntax is: find /path/dir -type f -ctime -3 This should mean "show all files created for the last 3 days". Use "-3" not "3" -- Best regards, Daniel -- gentoo-user@gentoo.org mailing list