rsync同步目录
sudo rsync -ave ssh /home/daniel/sc daniel@xx.xx.xx.xx:/home/daniel/sc
如果提示无法mkdir,可能是权限的问题
sudo chmod 777 /home/daniel/sc
sudo rsync -ave ssh /home/daniel/sc daniel@xx.xx.xx.xx:/home/daniel/sc
如果提示无法mkdir,可能是权限的问题
sudo chmod 777 /home/daniel/sc