This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: nondosfilewarning help
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, msmoore <it at kalani dot com>
- Date: Thu, 21 Oct 2010 08:29:18 +0100 (BST)
- Subject: R: nondosfilewarning help
--- Gio 21/10/10, msmoore ha scritto:
>
> Hello,
>
> I need help with getting rid of a dos warning.? I have
> a Windows 7 computer
> running a script that requires rsync in Cygwin.? When
> the batch script is
> run, I get the following error:
>
> Nonempty Server backup error log on computer2
>
> cygwin warning:
> ? MS-DOS style path detected:
> E:/backups/Server/files/
> ? Preferred POSIX equivalent is:
> /cygdrive/e/backups/Server/files/
> ? 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
>
> So I edited the cygwin batch file to say:
>
> @echo off
>
> C:
> chdir C:\cygwin\bin
>
> set CYGWIN=nodosfilewarning
>
> bash --login -i
>
> But I still get the error.
>
> 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
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