rsync (cwrsync) in Gitbash - The source and destination cannot both be remote. [windows 7] -
i trying sync local path drive using git bash in windows 7. downloaded cwrsync , copied files on git bash bin directory. can run rsync following command gives me problems
rsync -av /c/00-dev/05-batch /f/rsync/ source , destination cannot both remote. rsync error: syntax or usage error (code 1) @ main.c(1135) [receiver=3.0.6]
both paths correct won't sync.
workaround: cd
/c
, rsync
using relative paths.
so works:
cd /c touch temp/test.txt rsync temp/test.txt temp/test2.txt
while doesn't, if cd
/c
:
$ rsync /c/temp/test.txt /c/temp/test2.txt source , destination cannot both remote.
tested git bash came git 2.9.0.windows.1
.
Comments
Post a Comment