linux 跟 windows 文件同步

windows下須要安裝cygwin cwRsync客戶端, linux安裝rsynclinux

批處理文件:windows

cd c:\Program Files\cwRsync_client\bin
c:ssh

rsync -avz --progress --exclude="*svn*" --exclude="*.conf" --exclude="*.key" -e "\"/cygdrive/c/Program Files/cwRsync_client/bin/ssh.exe\""  "/cygdrive/e/server/vd_project" lhf@192.168.1.244:/home/lhf/svn

pauseserver

相關文章
相關標籤/搜索