Monday, February 11, 2013

Sync directories between 2 hosts using rsync

rsync -avz  .  -e 'ssh -p 23421' remoteuser@remote_ip:/gb500

- syncs the current directory (source) with the destination directory /gb500.
- connects on remote ssh port 23421 (changed 22 to 23421)

No comments:

Post a Comment

Followers

About Me

Torrance, CA, United States