#!/bin/bash#Purpose:rsyncd #Date:2018-02-10bash
Src_Dir="/data/"Des_Host="172.18.56.172"file
rsync -avzP --progress --password-file=/etc/rsyncd/data.pwd \--exclude-from=/etc/rsyncd/sh/exclude/rsync.exclude \$Src_Dir user@${Des_Host}::datarsync