Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 20:38:59 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        aurfalien <aurfalien@gmail.com>
Cc:        freebsd-questions@freebsd.org, Nicolas KOWALSKI <nicolas.kowalski@gmail.com>
Subject:   Re: copying milllions of small files and millions of dirs
Message-ID:  <alpine.BSF.2.00.1310102038260.55372@wonkity.com>
In-Reply-To: <852D7000-F9D2-4C63-8D68-A56F77EB9B8C@gmail.com>
References:  <7E7AEB5A-7102-424E-8B1E-A33E0A2C8B2C@gmail.com> <20130816064612.GH1190@petole.demisel.net> <852D7000-F9D2-4C63-8D68-A56F77EB9B8C@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Oct 2013, aurfalien wrote:

>
> On Aug 15, 2013, at 11:46 PM, 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
>
>
> Old thread I know but cpio has proven twice as fast as rsync.
>
> Trusty ol cpio.
>
> Gonna try cpdup next.

Try sysutils/clone, too.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1310102038260.55372>