This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question on nodosfilewarning


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@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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]