Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

rsync

How to setup rsync in Centos 6 ?

Any idea what's the meaning for following parameter ? Tks

-AzavrR
--delete
--links
--rsh

rsync -AzavrR --delete --links --rsh="ssh -l hkadmin" hkcms01:/home/hkm/webapps /
Avatar of Thommy
Thommy
Flag of Germany image

ASKER CERTIFIED SOLUTION
Avatar of Thommy
Thommy
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK
AXISHK

ASKER

One more check,

"hkcms01:/home/hkm/webapps  /"

does it mean that it will transfer the files from hkcms01:/home/hkm/webapps" into the local / ? Will it put the files under the right folder ?
To get an explanation of the Rsync parameters please look at the full list of rsync options...

Also read following links regarding Grsync...
Grsync: Home
How to install Grsync
Avatar of AXISHK

ASKER

Can you clarify whether my understanding is correct or not ?  Tks

"hkcms01:/home/hkm/webapps  /"

does it mean that it will transfer the files from hkcms01:/home/hkm/webapps" into the local / ? Will it put the files under the right folder ?
Avatar of AXISHK

ASKER

Tks