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.
posted @ 2010-12-11 12:23  super119  阅读(262)  评论(0编辑  收藏  举报