#!/bin/bash rsync --port=873 -vzrtopgLK --progress --delete --password-file=/tuandai/rsync/rsync.password --exclude-from=/tuandai/rsync/exclude_list_haproxy [email protected]::mycode/haproxy/haproxy_bugu/haproxy /etc
-L, --copy-links transform symlink into referent file/dir treat symlinks as files or directories
-K, --keep-dirlinks treat symlinked dir on receiver as dir