rsync 同步文件

rsync -az --exclude-from=/data/sh/exclude_www.test.txt --delete /data/wwwroot/www.test.cc/ root@ip:/data/wwwroot/www.test.cc/

exclude_www.test.txt:

.svn/
.svn/*

注:必须建立在ssh无密通信之上

posted @ 2017-03-16 17:01  三百里江山  阅读(134)  评论(0编辑  收藏  举报