rsync -aHAXxv --numeric-ids --delete --progress -e "ssh -T -c arcfour -o Compression=no -x" [source_dir] [dest_host:/dest_dir]
a: archive mode – rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
H: preserves hard-links
A: preserves ACLs
X: preserves extended attributes
x: don’t cross file-system boundaries
v: increase verbosity
–numeric-ds: don’t map uid/gid values by user/group name
–delete: delete extraneous files from dest dirs (differential clean-up during sync)
–progress: show progress during transfer