[CentOS] rsync question

C Linus Hicks linush at verizon.net
Thu Sep 10 18:31:39 UTC 2015


 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 at 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>.



More information about the CentOS mailing list