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

Remco Viƫtor remco.vietor at wanadoo.fr
Wed Sep 19 12:40:32 BST 2018

On mercredi 19 septembre 2018 12:48:37 CEST Chris Green 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?
A bit of googling lead to this: 

As you can see there, there's a difference between "%U" and "%u". Are you sure 
you used the uppercase version?


More information about the Digikam-users mailing list