# rsync -avzP file root@172.20.7.219:/root/tmp (我这里file指要传送的文件) 转载于:https://www.cnblogs.com/hee0624/p/5691011.html