Re: rsync question

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



 On 09/10/15, Robert Moskowitz wrote:
---------------- Quoted text ------------------------
I just tried the following:

rsync -ah --stats "ssh -p613 -l root" 192.168.192.2:/root/samba.PDC/ 
/home/rgm/data/htt/httnet/homebase/new/root/

And it failed with:

Unexpected remote arg: 192.168.192.2:/root/samba.PDC/
rsync error: syntax or usage error (code 1) at main.c(1330) [sender=3.1.1]

I tried again with:

rsync -ah --stats -e "ssh -p613 -l root" 192.168.192.2:/root/samba.PDC/ 
/home/rgm/data/htt/httnet/homebase/new/root/

and it worked. This is what I read from the manpage, that "-e" is 
needed for the ssh command.

--------------------- End Quote ----------------------------------

Try this:
rsync -ah --stats 192.168.192.2:/root/samba.PDC/ 
/home/rgm/data/htt/httnet/homebase/new/root/

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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