I want to create a custom command to run the program G'Mic within Git Bash on selected images.
Command:
gmic *jpg -gimp_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o 0000.jpg
This command takes jpg images, from which a montage of the jpgs is created.
This is what I have:
Group: MC
Function: Run
Options/Parameters: ADMIN
Command Type: Custom Commands
Command:
MC.Run CMD="gmic *jpg -gimp_montage 4,\""V(H(0,1),H(2,V(3,4)))"\",1,1.0,0,5,0,0,0,255,0,0,0,0,0 -o 0000.jpg"
When I run this command on selected jpgs I see the Windows command shell quickly open and close and not perform the requested action. This is because the command doesn't work in Windows command shell. It needs to run in Git Bash, which I have installed and have confirmed works with this command.
I assume I need to tell MultiCommander to run this command in Git Bash. But how to do it? And will the resulting montage be placed in the folder of the source images?
My Git Bash path: C:\Program Files (x86)\Git\bin\sh.exe