From owner-freebsd-questions@FreeBSD.ORG Mon Aug 19 17:41:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6134CC03 for ; Mon, 19 Aug 2013 17:41:26 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 360052D71 for ; Mon, 19 Aug 2013 17:41:26 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id E3FBE24035 for ; Mon, 19 Aug 2013 13:41:22 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Mon, 19 Aug 2013 13:41:23 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=ZNrLVk6GpQ4pVbY8masU7em7MZA=; b=WaJ 58sPp2mrBnnw71MBHIU7KX4s0GPfiOQ5uWCDBvaG++ERl/CjQZEjxp2LYH3tIU9Q m1k+I8ivzT7MH3KGB1A8GipDLHxFfkdn/CPCJTusnqd5C3dv6L72S9ulbnF17/9z ORKubR9OdsVTlTSeXYy9Cf7KE7g7EyMdNzRdAGgU= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id A63D4B0238B; Mon, 19 Aug 2013 13:41:22 -0400 (EDT) Message-Id: <1376934082.25499.11612497.1C73C726@webmail.messagingengine.com> X-Sasl-Enc: jmv5lNbgqWrtvdYwora2LA596iqzwrXGvKTdQevu+Mfd 1376934082 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-3ac28d5b In-Reply-To: <20130816064612.GH1190@petole.demisel.net> References: <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <20130816064612.GH1190@petole.demisel.net> Subject: Re: copying milllions of small files and millions of dirs Date: Mon, 19 Aug 2013 12:41:22 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 17:41:26 -0000 On Fri, Aug 16, 2013, at 1:46, Nicolas KOWALSKI wrote: > On Thu, Aug 15, 2013 at 11:13:25AM -0700, aurfalien wrote: > > Is there a faster way to copy files over NFS? > > I would use find+cpio. This handles hard links, permissions, and in case > of later runs, will not copy files if they already exist on the > destination. > > # cd /source/dir > # find . | cpio -pvdm /destination/dir > I always found sysutils/cpdup to be faster than rsync.