delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/21/23:12:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <30024981.post@talk.nabble.com>
Date: Thu, 21 Oct 2010 20:12:35 -0700 (PDT)
From: msmoore <it AT kalani DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: R: nondosfilewarning help
In-Reply-To: <217662.9659.qm@web25504.mail.ukl.yahoo.com>
MIME-Version: 1.0
References: <30016692 DOT post AT talk DOT nabble DOT com> <217662 DOT 9659 DOT qm AT web25504 DOT mail DOT ukl DOT yahoo DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Unfortunately, the script that was written to run rsync is in perl and has
variables for the directory.  It's complicated and I wouldn't know how to
change it, which is why I rather just leave it as is and have the
"nodosfilewarning' instead.

I'm wondering if capitals matter because I wrote set instead of SET



Marco atzeri-3 wrote:
>=20
> --- Gio 21/10/10, msmoore  ha scritto:
>=20
>>=20
>> Hello,
>>=20
>> I need help with getting rid of a dos warning.=C2=A0 I have
>> a Windows 7 computer
>> running a script that requires rsync in Cygwin.=C2=A0 When
>> the batch script is
>> run, I get the following error:
>>=20
>> Nonempty Server backup error log on computer2
>>=20
>> cygwin warning:
>> =C2=A0 MS-DOS style path detected:
>> E:/backups/Server/files/
>> =C2=A0 Preferred POSIX equivalent is:
>> /cygdrive/e/backups/Server/files/
>> =C2=A0 CYGWIN environment variable option
>> "nodosfilewarning" turns off this
>> warning.
>> =C2=A0 Consult the user's guide for more details about
>> POSIX paths:
>> =C2=A0 =C2=A0 http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>>=20
>> So I edited the cygwin batch file to say:
>>=20
>> @echo off
>>=20
>> C:
>> chdir C:\cygwin\bin
>>=20
>> set CYGWIN=3Dnodosfilewarning
>>=20
>> bash --login -i
>>=20
>> But I still get the error.
>>=20
>> Any ideas?
>=20
> the solution is this one:
>=20
>   Preferred POSIX equivalent is:
>  /cygdrive/e/backups/Server/files/
>=20
>=20
> as example I backup my data on c:\MieiDocumenti=20
> with
>=20
> cd /cygdrive/c/
> rsync -ptvrW MieiDocumenti /cygdrive/f/backup
>=20
> Regards
> Marco
>=20
>=20
>=20
>=20
> --
> 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
>=20
>=20
>=20

--=20
View this message in context: http://old.nabble.com/nondosfilewarning-help-=
tp30016692p30024981.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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