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无密通信之上
本文来自博客园,作者:三百里江山,转载请注明原文链接:https://www.cnblogs.com/300js/p/6560445.html