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

Chris Green cl at isbd.net
Wed Sep 19 16:20:14 BST 2018


Remco Viëtor <remco.vietor at wanadoo.fr> wrote:
> On mercredi 19 septembre 2018 13:51:33 CEST woenx wrote:
> > That's weird.
> > 
> > Yes, I am sure i'm using the capital %U, I just checked again just in case.
> > This is the command I use:
> > 
> > xterm -e /home/user/Desktop/whatsdate.sh %U
> I thought I was replying to Chris Green, who did *not* get the whole file list 
> as parameter for the script. The behaviour you described is what's expected 
> with "%U". From the link I posted earlier:
> | %u            A single URL. Local files may either be passed as file: URLs or as file 
> path.
> | %U    A list of URLs. Each URL is passed as a separate argument to the 
> executable program. Local files may either be passed as file: URLs or as file 
> path. 
> 
It wouldn't matter for marcpaulus's case though, whether his script
was called several times with one file name as the parameter or once
with several file names as the parameters it would still work.

-- 
Chris Green
·




More information about the Digikam-users mailing list