[digiKam-users] Is there a way to run an external program/script on selected images?

Chris Green cl at isbd.net
Wed Sep 19 12:23:49 BST 2018

Chris Green <cl at isbd.net> wrote:
> woenx <marcpalaus at hotmail.com> wrote:
> > I use xterm as a terminal for digikam scripts in Ubuntu, so it should work as
> > Xubuntu as well.
> > 
> > /xterm -e /path/to/script.sh %U/
> > 
> > where %U is a list of the filenames of selected pictures that are passed as
> > arguments to the script.
> > 
> This doesn't work as expected.  What happens (on my xubuntu 18.04
> system running Digikam 5.9) is that the script is called once for each
> selected image with the parameter being the file name.  I.e. I don't
> get the script called with "a list of the filenames of selected
> pictures".
> Is this a bug or as designed?
... and 'Batch Processing' seems to do exactly the same thing, i.e. if
I add some images to the queue in the Batch Queue Manager and then run
a User Shell Script the script gets run separately for each image.
This is not a lot of use if one wants to open a program with a list of

Is there no way to select a number of images and output the list of
their filenames so it can be fed into some other program?

Chris Green

More information about the Digikam-users mailing list