delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/21/03:29:38

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <217662.9659.qm@web25504.mail.ukl.yahoo.com>
Date: Thu, 21 Oct 2010 08:29:18 +0100 (BST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: nondosfilewarning help
To: cygwin AT cygwin DOT com, msmoore <it AT kalani DOT com>
In-Reply-To: <30016692.post@talk.nabble.com>
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-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

--- Gio 21/10/10, msmoore  ha scritto:

>=20
> Hello,
>=20
> I need help with getting rid of a dos warning.=A0 I have
> a Windows 7 computer
> running a script that requires rsync in Cygwin.=A0 When
> the batch script is
> run, I get the following error:
>=20
> Nonempty Server backup error log on computer2
>=20
> cygwin warning:
> =A0 MS-DOS style path detected:
> E:/backups/Server/files/
> =A0 Preferred POSIX equivalent is:
> /cygdrive/e/backups/Server/files/
> =A0 CYGWIN environment variable option
> "nodosfilewarning" turns off this
> warning.
> =A0 Consult the user's guide for more details about
> POSIX paths:
> =A0 =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?

the solution is this one:

  Preferred POSIX equivalent is:
 /cygdrive/e/backups/Server/files/


as example I backup my data on c:\MieiDocumenti=20
with

cd /cygdrive/c/
rsync -ptvrW MieiDocumenti /cygdrive/f/backup

Regards
Marco




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