1、从111.222.333.444同步文件test.log到555.666.777.888的/tmp目录
rsync test.log 555.666.777.888:/tmp/
2、从111.222.333.444同步目录/data/hive到555.666.777.888的/tmp目录
rsync -r /data/hive 555.666.777.888:/tmp/
1、从111.222.333.444同步文件test.log到555.666.777.888的/tmp目录
rsync test.log 555.666.777.888:/tmp/
2、从111.222.333.444同步目录/data/hive到555.666.777.888的/tmp目录
rsync -r /data/hive 555.666.777.888:/tmp/