[Discuss] rsync v. cp in data migration

Kent Borg kentborg at borg.org
Thu May 23 14:49:00 EDT 2013


On 05/23/2013 02:41 PM, Richard Pieri wrote:
 > If I need a brute force, bulk copy then I still don't use cp. I use tar
 >
 >   cd source; tar cSf - . | ( cd dest; tar xpf - )

I remember once doing that as a way to preserve hard link 
relationships.  It might be as old as Unix utilities can get, but tar is 
still useful.

-kb, the Kent who is so old he has used tar with actual tape drives.




More information about the Discuss mailing list