This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: R: nondosfilewarning help
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:
>
> --- 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
>
>
>
--
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