From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Mbng7-0003OZ-Ty for garchives@archives.gentoo.org; Fri, 14 Aug 2009 03:42:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EA78E0684; Fri, 14 Aug 2009 03:42:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 698D2E0684 for ; Fri, 14 Aug 2009 03:42:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 17B5264E1A for ; Fri, 14 Aug 2009 03:42:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.557 X-Spam-Level: X-Spam-Status: No, score=-3.557 required=5.5 tests=[AWL=0.042, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] 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 3qg2dVcDQdtO for ; Fri, 14 Aug 2009 03:42:00 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 340EA65AEC for ; Fri, 14 Aug 2009 03:41:59 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Mbnft-0003nL-Eq for gentoo-user@gentoo.org; Fri, 14 Aug 2009 03:41:53 +0000 Received: from athedsl-388805.home.otenet.gr ([79.131.70.195]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2009 03:41:53 +0000 Received: from realnc by athedsl-388805.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Aug 2009 03:41:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: [OT] fast recursive local copy Date: Fri, 14 Aug 2009 06:41:50 +0300 Organization: Lucas Barks Message-ID: References: <20090814024724.GA6759@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.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 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-388805.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090730 Thunderbird/3.0b3 In-Reply-To: <20090814024724.GA6759@solfire> Sender: news X-Archives-Salt: 8c006a4e-7664-436f-b727-ae24460a4ac9 X-Archives-Hash: f723089707b559063131c76ff4baea63 On 08/14/2009 05:47 AM, meino.cramer@gmx.de wrote: > Hi, > > I am looking for a faster way to do a > > cp -a r > > locally on one machine with one harddisk inside. > > Is there a neat trick to accomplish this faster than > good old cp? Nope. Some people like to use pipes in hope to speed it up, something like: tar -c | tar -xC but this isn't really faster and fscks up sparse files. But if already contains some files from , then rsync would be faster than cp. If not, stick with cp.