#全局配置部分
secrets file = /etc/rsyncd.secrets
motd file = /etc/rsyncd.motd
read only = yes
list = yes
uid = nobody
gid = nobody
hosts allow = 192.168.100.0/24
hosts deny = 0.0.0.0/0
max connections = 40
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
#模块配置部分
[Disk1Pics]
path = /save/Disk1/picture/cnc
auth users = rsync
echo "rsync:rsync_password" >> /etc/rsyncd.secrets
rsync -vzrtopg --delete --progress rsync@192.168.100.244::Disk1Pics /weip/test_rsync_client