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 super@192.168.0.100:/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.
原文地址:https://www.cnblogs.com/super119/p/1902900.html