Re: scp copy remote files does NOT copy link?

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



On Mon, 2009-12-21 at 12:51 -0600, Les Mikesell wrote:
> mcclnx mcc wrote:
> > We have CENTOS 5.3 on DELL servers.  I tried to us following command to copy remote files system to local:
> > 
> >    scp -rp oracle@ORA2:/home/app/oracle/10.2 .
> > 
> > After SCP finish copy, I found some files on source file system using "link" but on target file systems it change to "physical file".
> > 
> > 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?

Cheers!

CentOS 5.4, Linux 2.6.18-164.9.1.el5 x86_64 14:18:18 up 2 days, 20:25, 1
user, load average: 0.24, 0.14, 0.19

_______________________________________________
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