参考链接
#rsync -avP -e ssh ./filename root@192.68.1.38:/root/paths/ (本地到远程)
#rsync -avP -e ssh root@192.68.1.38:/root/paths/test.tar.gz /root /paths (远程到本地)
rsync -av --progress --inplace --rsh='ssh -p8023' somefile user@host:somedir/ 需要制定ssh端口
rsync -vazu -progress /source/directory/ /destination/directory/ 本地同步