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 1GSymX-00024o-BF for garchives@archives.gentoo.org; Thu, 28 Sep 2006 16:30:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8SGSa06003235; Thu, 28 Sep 2006 16:28:36 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8SGNaCM006333 for ; Thu, 28 Sep 2006 16:23:37 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4C27F64AB1 for ; Thu, 28 Sep 2006 16:23:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.362 X-Spam-Level: X-Spam-Status: No, score=-0.362 required=5.5 tests=[AWL=0.156, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135, RCVD_IN_NJABL_DUL=1.946] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1jwoOes+X6ou for ; Thu, 28 Sep 2006 16:23:34 +0000 (UTC) Received: from badcomputer.org (unknown [24.67.0.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 55C8364AD3 for ; Thu, 28 Sep 2006 16:23:34 +0000 (UTC) Received: from [192.168.0.102] (helo=virgo.badcomputer.org) by badcomputer.org with esmtp (Exim 4.60) (envelope-from ) id 1GSyfk-0004ig-6P for gentoo-user@gentoo.org; Thu, 28 Sep 2006 09:23:40 -0700 From: darren kirby Organization: Badcomputer Org. To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] date-specific cp/mv Date: Thu, 28 Sep 2006 09:24:25 -0700 User-Agent: KMail/1.9.4 References: <20060928161644.79743.qmail@web31713.mail.mud.yahoo.com> In-Reply-To: <20060928161644.79743.qmail@web31713.mail.mud.yahoo.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" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609280924.25953.bulliver@badcomputer.org> X-Archives-Salt: 009a5963-d22b-4150-b531-e8f93d4602dc X-Archives-Hash: 4e4b311a15487110fd916eaaa99ee502 quoth the maxim wexler: > Hi group, > > I'd like to be able to cp or mv certain files from a > dir according to their timestamp. Have a look at find. You can whip up a one-liner using the -atime, -mtime or -ctime tests (depending on your intent) and use -exec to do the cp or mv... > -Maxim -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-user@gentoo.org mailing list