First create the exclude directory and put it in the xx.list exclusion file.
[root@localhost tmp]# cat /exclude/a_exclude.list a.txt to ———————————————————————— a.txt - file lai - directory ————————————————————————
rsync command:
[root@localhost tmp]# rsync -avz --delete --force --password-file=/etc/rsync.password --exclude-from=/exclude/a_exclude.list [email protected]::wwww /tmp/