Windows 8上的cwRsync出错

时间:2015-03-24 08:50:48

标签: windows rsync cwrsync

我在Windows 8计算机上安装了cwRsync,并尝试使用以下命令将文件rsync到远程服务器:

rsync rev/ user@ip:~/.tmp --rsh ssh --recursive --delete --delete-excluded --verbose

但是得到以下错误:

rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(605) [Receiver=3.0.9]
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(759) [sender=3.0.6]

是否有人遇到上述错误,可能是什么原因?

1 个答案:

答案 0 :(得分:0)

似乎您需要以管理员身份运行此命令。以管理员身份打开cmd并再次运行。