delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/26/18:58:44

Message-Id: <200912262358.nBQNwhD1002113@delorie.com>
X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.4 required=5.0 tests=AWL,BAYES_50,MISSING_MID,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP
X-Spam-Check-By: sourceware.org
From: "Jan Alphenaar" <jan DOT alphenaar AT dotcolour DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Question on nodosfilewarning
Date: Sun, 27 Dec 2009 00:58:33 +0100
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

Apparently it is not my week regarding environment variables. Here is
another more simpler question.

I have set the cygwin environment variable to "nodosfilewarning" as can be
seen on the screendump below, just to make sure, it is done in both upper
and lower case.

If I execute the command "rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" .
user AT machine:/Test" I get the warning I know all too well lately. It is
probably because ssh is piped to rsync, but I am not sure about that.

Does anyone know how to get rid of the message ?

Any help is appreciated.

Warm regards,

Jan

==== BEGIN SCREENDUMP ====
C:\Test>echo %cygwin%
nodosfilewarning

C:\Test>echo %CYGWIN%
nodosfilewarning

C:\Test>rsync -rlt -v -e "ssh -F 'C:\Test\Ssh.conf'" . user AT machine:/Test
cygwin warning:
  MS-DOS style path detected: C:\Test\Ssh.conf
  Preferred POSIX equivalent is: /cygdrive/c/Test/Ssh.conf

  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
sending incremental file list

sent 540 bytes  received 15 bytes  1110.00 bytes/sec
total size is 6814258  speedup is 12277.94
==== END SCREENDUMP ====


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019