我正在尝试在远程服务器(我的osx框)本地(在Windows机器上)使用rync,以测试远程部署构建脚本。我已经在两台Linux服务器之间完成了rsync的工作,但是现在遇到了问题。这是输出:
$ rsync -v -e ssh myuser@10.86.83.11:/Library/WebServer/sites/staging/app1/ ./export
skipping directory /Library/WebServer/sites/staging/app1/.
sent 8 bytes received 13 bytes 3.82 bytes/sec
total size is 0 speedup is 0.00
$
要么
$ rsync -avz -e ssh myuser@10.86.83.11:/Library/WebServer/sites/staging/app1/ ./export
receiving file list ... done
./
sent 26 bytes received 68 bytes 17.09 bytes/sec
total size is 0 speedup is 0.00
$
远程app1目录为空,而本地导出目录具有4个子目录,然后每个目录中都有一堆文件