rsync通过SSH来同步两台机器上的内容

By SSH, Command line:

rsync -av --force --delete --exclude 1.AonA/beagledroid_src.tar.gz --exclude 4.GTK+/ReferenceManual/ --exclude G.OMAP_CSSD_Maintain/toolchain/arm-2007q3/ -e ssh [email protected]:/home/super/Access/ /home/super/Access/

1. 192.168.0.100 needs openssh-server because, we operate on the laptop.
2. "-e ssh" is the key point, it specifies the detail remote shell.

你可能感兴趣的:(rsync)