LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cwrsyc: minimal test fails on change_dir (https://www.linuxquestions.org/questions/linux-software-2/cwrsyc-minimal-test-fails-on-change_dir-848269/)

catkin 12-04-2010 02:33 AM

cwrsyc: minimal test fails on change_dir
 
Hello :)

This is cross-posted from the cwrsync forum. cwrsync is an integrated package of minimal Cygwin with rsync.

A minimal test case, based on the as-distrubuted cwrsync.cmd, fails with "rsync: change_dir ... No such file or directory (2)". The listed directory looks strange.

The sample cwrsync.cmd was modified only by adding this line at the end:
Code:

rsync --verbose “/cygdrive/c/WINDOWS/system32/drivers/etc”  CW8vWXP@10.0.2.2::CW8vWXP
The full error message (my bolding) is:
Code:

rsync: change_dir "/cygdrive/c/Program Files/cwRsync/ô/cygdrive/c/WINDOWS/system32/drivers" failed: No such file or directory (2)
I don't know how the path should look but was not expecting it to be prefixed with %CWRSYNCHOME% (C:\Program Files\cwRsync, translated by Cygwin) and a hatted o.

Client-server transactions are working because a cwrsync.cmd with rsync -r 10.0.2.2:: gives the expected output:
Code:

CW8vWXP CW8vWXP (Charles workstation's virtual WXP)
ssh is not used. cwrsync prompts for a password which is accepted.

Versions:
  • Windows: XP Pro SP2 running in a VirtualBox 3.2.8 virtual machine running new installation of cwrsync 4.0.5
  • Server: Slackware64 13.1 running rsync 3.0.7
Best

Charles

catkin 12-12-2010 06:22 AM

The problem was the wrong quotes, “ instead of "

catkin 12-12-2010 06:22 AM

<duplicate post text removed>


All times are GMT -5. The time now is 08:00 PM.