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 Subject: R: nondosfilewarning help To: cygwin AT cygwin DOT com, msmoore In-Reply-To: <30016692.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 --- 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