[Digikam-users] Need some help to use user shell script tool in digikam 5 batch processing

Maik Qualmann metzpinguin at gmail.com
Sun Jun 26 09:16:27 BST 2016


In this case, if no new image data to be created, the $INPUT file must be 
copied to $OUTPUT.

cp $INPUT $OUTPUT

And performe the EXIF operations then to the $OUTPUT file.

Maik

On Sonntag, 26. Juni 2016 09:54:50 CEST Photonoxx wrote:
> Hi,
> 
> I test Digikam 5 from Philip Johnsson PPA on ubuntu 16.04 and would like
> to use the "user shell script" in batch processing but I only succeed to
> get empty jpg files for the moment.
> 
> What I would like to do is just to apply two command lines using exiv2 to
> remove some metadata informations and set modifify the creation date
> 
> Basically, to remove some metadata i use a command file in exiv2 (first
> line) and for the date the second command line with each time the filename
> at the end of each line.
> 
>   exiv2 -m'/media/samsungeco/Urbexpassion/exiv2-cleanup.cmd'
>   exiv2 -Y'-30' -O'+7' -D'-60' ad
> 
> So, to proceed, I begin to use two differents user shell scripts with one
> of the command line above in each and I add $INPUT at the end like this
> 
> for the first tool
>   exiv2 -m'/media/samsungeco/Urbexpassion/exiv2-cleanup.cmd' $INPUT
> 
> for the second one
>   exiv2 -Y'-30' -O'+7' -D'-60' ad $INPUT
> 
> But I only get a file with the right name but with a size of 0 byte
> 
> I tried to escape some special characters with no results.
> 
> So if somebody here could tell what I missed or what I'm doing wrong, I
> would really appreciate





More information about the Digikam-users mailing list