[rsync@b] Re: rsync and cygwin

Michael Hipp Michael at Hipp.com
Wed Jun 4 11:45:30 EST 2003

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
chdir C:\cygwin\bin
bash --login -i -c "~/myscript.sh"

Use scheduler to run 'myjob.bat'. It will execute 'myscript.sh' under 
bash and from there you can do anything bash can do.


More information about the rsync mailing list