I\'d like to run a long rsync command in Cygwin by double clicking on a .sh file in Windows. It must start in the file\'s containing directory (e.g. /cygdrive/c/scripts/) so th
One solution that works is to create a .bat file that will open cygwin and execute your script.
.bat
The script to execute the script go.sh located on my home directory:
go.sh
@echo off C: chdir C:\cygwin\bin bash --login -i ./go.sh