On Thu, 2 Oct 2003, Jaco Swart wrote:
> Has anybody experimented with the GIMP's batch mode?
> It works fine when typing the commands that the GIMP should excecute on the
> command line, i.e.
> gimp -b -i '(command1)' '(command2)' '(gimp-quit 0)'
>
> What I cannot get to work, is to put the commands into a text file and call
> that with something like
> gimp -b -i batchjob.txt
Have you tried sequencing the options properly, i.e.,
gimp -i -b batchjob.txt
instead of your suggestion? The point is that the -b option for batch
mode reads either from the command line, or stdin, or a file,
depending on what follows the -b
'(' command line
'-' stdin
else file
According to this, the '-' from your '-i' would cause it to assume
that the rest is to be taken from stdin...
Kind regards,
Helmut Walle.
+----------------+
| Helmut Walle |
| [EMAIL PROTECTED] |
| 03 - 388 39 54 |
+----------------+