Re: scp copy remote files does NOT copy link?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Tom H wrote:
>>>> Does there has way scp not change "link" setup?
> 
>>> I've always preferred 'rsync -essh -aHv  source host:path' over scp for
>>> remote copies.  It will generally get everything right and in the case
>>> where part of the content is already there it is much more efficient.
> 
>> I know I'm going to be embarrassed by the answer to this one but I've
>> checked a couple rsync and ssh references, including man rsync, and do
>> not find an option -H.  What is it?
> 
> -H, --hard-links      preserve hard links

Most of the other options to create as exact a duplicate as possible are 
bundled into the '-a' option.  However, since there is no efficient way 
to handle hardlink matching and recreation (it needs a brute-force inode 
table lookup), it is left separate.

-- 
   Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux