Is the plugin "User Shell Script" working ?

Gilles Caulier caulier.gilles at gmail.com
Wed Sep 20 06:49:44 BST 2023


Hi,

The script is well maintained. Prior the Linux bash has been supported and
recently improvements have been introduced with the Windows shell.

What's your shell by default in your computer ? BASH ?

Best regards

Gilles Caulier

Le mar. 19 sept. 2023 à 23:00, Filipe Miguel Veloza <
filipe.veloza at ist.utl.pt> a écrit :

> Hi all,
>
> first congratulation for a great piece os software digikam is AWESOME !!
>
> Now I was trying to start using scripts to improve the management of my
> photos and albums, but only found the Batch "User Shell Script".
>
> When trying to use it, I started with the example as per documentation (
> without the copy action ) :
>
> But the script never gets the $INPUT & $OUTPUT filled or replaced
> correctly :
> digikam.general: Action Thread run 1 new jobs
> digikam.general: Tool : index= 1 :: name= "UserScript" :: group=
> Digikam::BatchTool::CustomTool :: wurl= QUrl("file:///****/2011/2011****")
> digikam.general: path:
> "/****/2011/2011****/BatchTool-uoeoIR-7990d0a5.digikamtempfile.JPG"
> digikam.general: Tool: "User Shell Script"
> digikam.general: Input url: QUrl("file:///****/2011/2011****/DSC_0147.JPG")
> digikam.general: Output url:
> QUrl("file:///****/2011/2011****/BatchTool-uoeoIR-7990d0a5.digikamtempfile.JPG")
> digikam.dplugin.bqm: Script stdout "INPUT FILE: \nOUTPUT FILE: \nTITLE:
> ******\nCOMMENT: Date : 2011 & Location : ******\nCOLORLABEL: 0\nPICKLABEL:
> 0\nRATING: -1\nTAGSPATH: Portofolio/Abstract/****\n"
> digikam.dplugin.bqm: Script stderr ""
> digikam.dplugin.bqm: Script exit code: 0
> digikam.general: One job is done
>
> It is as if the plugin replaces the string "$INPUT" with nothing ( not
> even blank space ).
>
> Any ideas ?
>
> Thank you
> Filipe Veloza
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20230920/c3216bcd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image-KZPJB2.png
Type: image/png
Size: 36157 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20230920/c3216bcd/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image-KZPJB2.png
Type: image/png
Size: 36157 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20230920/c3216bcd/attachment-0003.png>


More information about the Digikam-users mailing list