Re: rsync question

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





On 09/10/2015 02:31 PM, C Linus Hicks wrote:
  On 09/10/15, C Linus Hicks wrote:

  On 09/10/15, Robert Moskowitz wrote:
---------------- Quoted text ------------------------

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

Sorry, I was too fast, not paying attention, you want this I believe:

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

That will use the default port on the remote host, you can override that without specifying the -e if required using -p <port>.


$ rsync -ah --stats --delete -p 613 root@192.168.129.2:/etc/dhcp/ /home/rgm/data/htt/httnet/homebase/new/dhcp
Unexpected remote arg: root@192.168.129.2:/etc/dhcp/
rsync error: syntax or usage error (code 1) at main.c(1330) [sender=3.1.1]

So not there yet.  :(


_______________________________________________
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