This is the mail archive of the
mailing list for the Cygwin project.
Re: colons with rsync
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Ben Smith <BenSmith at zieglers dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 11 Jun 2003 11:27:19 -0400 (EDT)
- Subject: Re: colons with rsync
- Reply-to: cygwin at cygwin dot com
On Wed, 11 Jun 2003, Ben Smith wrote:
> I am trying to rsync from a SCO box to a Windows 2000 server as a
> (temporary) backup while I build a more suitable Linux backup server.
> Rsync on SCO reports errors such as the following:
> rsync: recv_generator: mkdir
> "var/opt/K/SCO/MMDF/2.43.3b/spool/mail/:saved": No such file or
> directory (2)
> stat var/opt/K/SCO/MMDF/2.43.3b/spool/mail/:saved : No such file or
> I know this has to do with the colons in the directory/file names. All
> of the files that have this error have colons in the path somewhere.
> They are both a recent version, 2.5.6 protocol version 26. I guess
> another snafu is that my cygwin install is very basic, cygwin-lite with
> ssh and rsync.
> Does rsync convert between Windows/Unix filenames automatically in
> instances such as this? Is there a way to use cygpath to get around
> this limitation? Thanks in advance for your help.
> -Ben Smith
Windows filenames cannot contain ':', so there is no way around this
limitation in Cygwin, since it uses Windows filenames.
I did manage to create a file called ':saved' (on NTFS). It didn't show
up in directory listings (simple 'ls'), but did in an explicit 'ls
:saved'. I also could write to it and read from it, so I'm not sure
exactly where or how the file was created ('mv :saved ./Zsaved' said "mv:
cannot move `:saved' to a subdirectory of itself, `./Zsaved'", so I'm
guessing Win2k got pretty confused). 'rm :saved' worked, though.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html