Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread jw schultz
On Wed, Jun 04, 2003 at 10:50:18AM +0200, Lapo Luchini wrote: > Bert wrote: > > >While I don't know the cygwin architecture details, it looks like the > >/cygdrive functionality is a part of cygwin.dll and can be used > >without a parent bash shell. > > It is part of it's POSIX-layerness, inde

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Lapo Luchini
Bert wrote: While I don't know the cygwin architecture details, it looks like the /cygdrive functionality is a part of cygwin.dll and can be used without a parent bash shell. It is part of it's POSIX-layerness, indeed, and it's storen in the registry, so it needs no "startup script" to set it

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Bert
Michael, While I frequently run scheduled bash shell scripts via a bash.bat file as you describe, I don't think it is necessary here... I think Trey can run rsync.exe directly if he really wants to. I tested running 'ls /cygdrive' from within a cmd.exe dos prompt and it worked... Microsoft Wi

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Michael Hipp
Trey Nolen wrote: But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Yes. Write a small 'myjob.bat' file with something like this in it: @echo off C: chdir C:\cygwin\bin bash --logi

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Trey Nolen
> I think that a key part of the answer is to use /cygdrive/c instead of / or > \ to identify c:\ in a cygwin environment. > But can you do that if you are not running it from the Cygwin prompt? I didn't do that because we were starting it with the scheduler. Will that still work? Trey Nolen

Re: [rsync@b] Re: rsync and cygwin

2003-06-04 Thread Bert
I think that a key part of the answer is to use /cygdrive/c instead of / or \ to identify c:\ in a cygwin environment. HTH, Bert -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html