rysnc本地目录同步

rsync -a --delete --exclude=webpub_old --exclude=webpub_20100408 /home1/www/ /wwwroot/www
rsync -a --delete /home1/down/ /wwwroot/down
rsync -a --delete /home1/bbs /wwwroot/bbs
rsync -a --delete /home1/db /wwwroot/bbs
rsync -a --delete /home1/act /wwwroot/act
rsync -a --delete --exclude=web_app_new20100408 /home1/market /wwwroot/market
rsync -a --delete /home1/gg /wwwroot/gg
rsync -a --delete /home1/phpwind /wwwroot/phpwind
rsync -a --delete /home1/spec /wwwroot/spec
rsync -a --delete /home1/wiki /wwwroot/wiki

rsync -a --delete --exclude=webpub_old --exclude=webpub_20100408 /home1/www/ /wwwroot/www(排除了webpub_old和webpub_20100408两个目录)


本文转自 liang3391 51CTO博客,原文链接:http://blog.51cto.com/liang3391/456612

上一篇:手把手教你安装交叉编译工具链(宿主机系统为ubuntu10.04)


下一篇:由position属性引申的关于css的进阶讨论(包含块、BFC、margin collapse)