From local system to remote system:
# rsync -avzpe ssh modules/ root@10.10.2.42:/usr/local/jboss-as/modules/
--delete : delete files that don't exist on sender (system)
-v : Verbose (try -vv for more detailed information)
-e "ssh options" : specify the ssh as remote shell
-a : archive mode
-r : recurse into directories
-z : compress file data
****************************************
# rsync -avzpe ssh modules/ root@10.10.2.42:/usr/local/jboss-as/modules/
--delete : delete files that don't exist on sender (system)
-v : Verbose (try -vv for more detailed information)
-e "ssh options" : specify the ssh as remote shell
-a : archive mode
-r : recurse into directories
-z : compress file data
****************************************
No comments:
Post a Comment