copying milllions of small files and millions of dirs

Nicolas KOWALSKI nicolas.kowalski at
Fri Aug 16 06:46:16 UTC 2013

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 

# cd /source/dir
# find . | cpio -pvdm /destination/dir


More information about the freebsd-questions mailing list