[root@jsb~]# rsync -avH --progress '-e ssh -p 2222' root@192.168.1.3:/etc/passwd ./
receiving file list ...
1 file to consider
passwd
1846 100% 1.76MB/s 0:00:00 (xfer#1, to-check=0/1)
sent 42 bytes received 1945 bytes 794.80 bytes/sec
total size is 1846 speedup is 0.93
转载于:https://my.oschina.net/liuhuan0927/blog/616911