rsync-server 服务器端
 
use chroot = false
strict modes = false
hosts allow = 192.168.1.14
log file = rsyncd.log
pid file = rsyncd.pid
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[test]
path = /cygdrive/d/upfile.[url]www.yiji.net[/url]
read only = false
transfer logging = yes
secrets file = /c/Program Files/88kcwRsyncServer/rsyncd.secrets
 
rsync-client 客户端
 
rsync -vzrtopg --progress --password-file=/cygdrive/c/windows/rsyncd.secrets netupfile@192.168.1.16::test /cygdrive/d/yiji/www.yiji.net/www.yiji.net.ROOT/index/
##注释 netupfile@192.168.1.16::test 为源数据目录
       /cygdrive/d/yiji/www.yiji.net/www.yiji.net.ROOT/index/ 目标数据目录