systemctl enable rsyncd

systemctl start rsyncd

 

/usr/bin/rsync --daemon

rsync  -az --delete --include "*/" --exclude ".*" --include "*.sh" --include "*.py" --include "*.jar" --include "*.txt" --include "*.ini" --include "*.cfg" --include "*.conf" --include "*.zip" --include "*.md"  --exclude "*"  hostname::data4   /home/test/online

 

posted on 2019-10-30 20:58  Go_Forward  阅读(222)  评论(0编辑  收藏  举报