I have a project that needs to rsync. I have the following code in my script…
"C:\Program Files\Git\bin\sh.exe" "<locationto>\git.sh"
"C:\MinGW\msys\1.0\msys.bat" "<locationto>\rsync.sh"
I am doing this because I need rsync and the Git version installed doesn’t have it. The first command executes fine but the msys.bat doesn’t seem to accept the param.
Is there a way I can force MSys to work the same way as sh.exe?
I solved this the following way
To do this change…
To
Finally you run the msys2.bat instead.