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

Photonoxx photonoxx at free.fr
Sun Jun 26 08:54:50 BST 2016


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

-- 
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/



More information about the Digikam-users mailing list