Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 10:52:53 -0700
From:      aurfalien <aurfalien@gmail.com>
To:        Mark Felder <feld@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: copying milllions of small files and millions of dirs
Message-ID:  <B629E9F8-C01A-4D09-8054-C63F69846F5C@gmail.com>
In-Reply-To: <1376934082.25499.11612497.1C73C726@webmail.messagingengine.com>
References:  <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <20130816064612.GH1190@petole.demisel.net> <1376934082.25499.11612497.1C73C726@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Aug 19, 2013, at 10:41 AM, Mark Felder wrote:

> 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.

Ah, bookmarking this one.

Many thanks.

- aurf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B629E9F8-C01A-4D09-8054-C63F69846F5C>