rsync colon in filename to MSWin fails

Anton Shterenlikht mexas at
Fri Sep 19 12:38:03 UTC 2008

I cannot trasfer a file with a colon via rsync to a Win box.
I've rsync-3.0.4 on the FBSD (sending side) and rsync-2.6.9
under cygwin on Win (receiving side). I'm not sure what the
error message means:

% rsync ./http:__en.wikipedia.org_favicon.ico mexas at
rsync: rename "/cygdrive/c/Documents and Settings/mexas/My Documents/work/.http:__en.wikipedia.org_favicon.ico.8dBX2K" -> "http:__en.wikipedia.org_favicon.ico": No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1040) [sender=3.0.4]

Note the extra dot before the file name, and extra suffix at the
end. Is this the expected behaviour?

However, to another FBSD box transfer is fine:

% rsync ./http:__en.wikipedia.org_favicon.ico mexas at zzz.zzz.zzz.zzz:

Is this something to do with Windows, or old rsync version on cygwin?

Even more bizzare, I get the same error even if I "--exclude" all
such files from transfer.

many thanks

Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423

More information about the freebsd-questions mailing list