rsync 同步

1./usr/bin/rsync -vzrtopg --progress  --include "weibo-service-server" --exclude "/*" root@192.168.8.148::snapshots /usr/local/nexus/sonatype-work/nexus/storage/snapshots/

 

1./usr/bin/rsync  -参数  --progress    --include  "同步文件名"  --exclude "排除所有" root@被同步的机器ip::被同步的组名 同步本机器的路径

posted @ 2017-04-18 18:37  帅丶高高  阅读(110)  评论(0编辑  收藏  举报