[digiKam-users] Run one script for the whole selection

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Run one script for the whole selection

woenx
Hello,

I made a simple bash script to update missing metadata on some images. I run
this script using "Right click, Open with...", and the script is invoked
inside a terminal.

However, when selecting several images, several scripts are executed at the
same time. This is a problem with tens or hundreds of pictures are selected.
Is there any way to run a script to process a selection in a sequential
manner (passing the picture path as arguments)?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Run one script for the whole selection

AndriusWild
I usually "open with" and then type a command manually.

For KDE it is "konsole -e /path/to/script.sh %U --noclose" 

%U is your variable 

Sent from my Samsung Galaxy smartphone.

-------- Original message --------
From: woenx <[hidden email]>
Date: 2018-06-11 10:55 AM (GMT-07:00)
Subject: [digiKam-users] Run one script for the whole selection

Hello,

I made a simple bash script to update missing metadata on some images. I run
this script using "Right click, Open with...", and the script is invoked
inside a terminal.

However, when selecting several images, several scripts are executed at the
same time. This is a problem with tens or hundreds of pictures are selected.
Is there any way to run a script to process a selection in a sequential
manner (passing the picture path as arguments)?



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html
Reply | Threaded
Open this post in threaded view
|

Re: Run one script for the whole selection

woenx
Yes! This is exactly what I wanted. Thanks!



--
Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html