<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>I usually "open with" and then type a command manually.</div><div><br></div><div>For KDE it is "konsole -e /path/to/script.sh %U --noclose" </div><div><br></div><div>%U is your variable </div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Sent from my Samsung Galaxy smartphone.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Original message --------</div><div>From: woenx <marcpalaus@hotmail.com> </div><div>Date: 2018-06-11  10:55 AM  (GMT-07:00) </div><div>To: digikam-users@kde.org </div><div>Subject: [digiKam-users] Run one script for the whole selection </div><div><br></div></div>Hello,<br><br>I made a simple bash script to update missing metadata on some images. I run<br>this script using "Right click, Open with...", and the script is invoked<br>inside a terminal. <br><br>However, when selecting several images, several scripts are executed at the<br>same time. This is a problem with tens or hundreds of pictures are selected.<br>Is there any way to run a script to process a selection in a sequential<br>manner (passing the picture path as arguments)?<br><br><br><br>--<br>Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html<br></body></html>