Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 11 Jun 2003 11:27:19 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Ben Smith cc: cygwin AT cygwin DOT com Subject: Re: colons with rsync In-Reply-To: <89D96C40EE130B40BF06D6C83B59E175094025@fcserver.fc.local> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > directory > > 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 Ben, 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. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/