[Discuss] rsync v. cp in data migration

Richard Pieri richard.pieri at gmail.com
Thu May 23 14:56:32 EDT 2013


Kent Borg wrote:
> 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.

Old doesn't mean useless. That's one of the oldest tools in my toolkit,
used long before GNU added directory recursion to cp. cpio can be used
in a similar fashion when stuck with a broken tar implementation:

  find source/ -depth -print | cpio -pamdV dest

-- 
Rich P.



More information about the Discuss mailing list