Fwd: How would I make dir2 a copy of dir1 w/hardlinks for the files?

Linda A. Walsh rsync at tlinx.org
Wed Mar 26 15:21:43 MDT 2014


Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> rsync not needed: cp -al dir1 dir2
>   
Right now, neither is 'cp' (as of V8.21 - V10 inclusive) --
"apparently" (?) in response to this
article: http://danwalsh.livejournal.com/64493.html.

Right now, 'cp' tries to 'hardlink' to symlinks, which AFAIR
has never been an option -- any more than hardlinking to
directories.

I was trying to see if rsync was a viable alternative until the bug
is fixed, and had abilities cp used to (bug currently does not).






More information about the rsync mailing list