rsync -avz -e ssh /home/local/filename remote@192.168.0.120:/home/remote/dst_dir
需要设置ssh免密钥登录远程主机
rsync -avz -e ssh /home/local/filename remote@192.168.0.120:/home/remote/dst_dir
需要设置ssh免密钥登录远程主机
转载于:https://www.cnblogs.com/tinaleft/p/6047674.html