Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
rsync -avz D:/test

I am using cwrsync on a windows7 box rsyncing to a linux box.

Everything works fine when i am going from a relative path on drive C.. but i need to rsync from another hdd in my windows box, drive d.

When i run the above line rsync moans that "the source and destination cannot both be remote ".

How can i get rsync to look at a directory on drive d?

The same line from a folder in drive c works fine:

rsync -avz /test

On a mac the 2nd hdd is mounted through Volumes and the rsync can access the files through that, is there anything similar in windows?

share|improve this question
up vote 2 down vote accepted

If you are using a cygwin version of rsync then you probably should be able to use the /cygdrive/ folder. A drive with the letter D would be seen in cygwin as /cygdrive/d.

share|improve this answer
Thnaks :) that was exactly what i was after – John Jul 25 '14 at 1:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.