Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run batch command line in Fu console beginning with 'gimp'
#4
gimp -i -b '(batch-crop-to-content "D:\Test\*.png") is a shell/terminal command that calls Gimp, not a script-fu instruction. You cannot use it in the script-fu console.

Gimp batch is executed by calling Gimp from a terminal (gimp -i -b, and giving it a script-fu/python-fu script to execute ('(batch-crop-to-content "D:\Test\*.png")').

To make things even more confusing the syntax of shell commands (in particular, relative to single quotes and double quotes) is different between Windows and Unix (Linux and OSX) so make sure you follow examples for the proper OS.
Reply


Messages In This Thread
RE: Run batch command line in Fu console beginning with 'gimp' - by Ofnuts - 09-24-2022, 12:35 PM

Forum Jump: