sshpass -p YOUR_PASSWORD rsync -avz -e ssh /mnt/d/Swap/sync pi@192.168.0.109:/home/pi/swap/ 转载于:https://www.cnblogs.com/turtlegood/p/7257128.html