Windows client

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Aug 14 10:05:08 GMT 2008


On Thu, Aug 14, 2008 at 11:44 AM, Stuart Halliday wrote:
>> and it has serious issues with
>> uppercase letters in file & folder names, as well as with spaces,
>> sometimes.
>
> It does?

I had numerous problems with that.
    rsync -av rsync://remote-location /cygdrive/c/Temp
(not to mention "Documents and Settings") failed completely.

There's a copy of one of my old posts to this mailing list, but as I
understand, most developers use unix, and most windows users have
never heard about rsync.

(Any volunteer to fix that? :)

> I've used cwrsync for years.
> Never noticed a problem except with _cygwin_ issues of path length and
> some international characters. But this is due to cygwin trying to support
> Window 98 as I understand it.
>
> Nothing to do with cwrsync last time I heard.
>
> I copy 50-100GB a day with Rsync on 2003 and XP pro machines.

We don't have any uppercase folders, and had to fix the code to use
relative paths instead, so that does the trick in 99% of cases, but
it's still a pain sometimes.

Anyhow: this should not scarry the initial poster. Yes, cwrsync works
fine in general. Some border cases should not scary you, and don't
forget to disable "NT security" (cygwin=noNTsec) or chmod the files
afterwards.

Mojca


----------
My older post with no reply:

Hello,

I'm using cwrsync. After a long time of trying to figure out what went
wrong, I have spotted that
    cd Uppercase
    rsync -av rsync://remote/files test
works OK,
    rsync -av rsync://remote/files /cygdrive/c/lowercase/test
works OK,
    rsync -av rsync://remote/files /cygdrive/c/Uppercase/test
works if remote doesn't include any subfolders, but
    rsync -av rsync://remote/files /cygdrive/c/Uppercase/test
fails in general with something like

rsync: mkdir "/cygdrive/c/Uppercase/test/a"
failed: No such file or directory (2)

The site that has given me the right hint (although not the right
solution - to reformat the disk) was this one:
   http://www.linuxforums.org/forum/linux-newbie/55198-rsync-complains-no-such-file-directory.html

Citing the relevant conclusion from that page:

#################################
# One of the errors:
rsync: mkstemp "/media/...snip.../Tex/ANIM/.0047.LXm6rG" failed: No
such file or directory (2)

# The original:
$ ls -a /home/...snip.../Tex/
... ANIM ...
$ ls -a /home/...snip.../Tex/ANIM/
# lots of files are listed

# The copy:
$ ls -a /media/...snip.../Tex/
... anim ...
$ ls -a /media/...snip.../Tex/anim/
. ..
#################################


Is it possible to fix that behaviour?

(The second problem is that I have no idea how to compile rsync on
windows, so even if the source is fixed, I still need to get the
binaries from somewhere.)

Thanks a lot,
   Mojca


More information about the rsync mailing list