My jpg files are located in a (linux) folder structure like this: /YYYY/YYYYMM/jpg files
My solution is a two-step solution:
Code: Select all
exiftool -r -overwrite_original '-UserComment<${filename}' /home/bjornar/FOTOTEST/
Code: Select all
mogrify -resize 1920x1080 -fill red -gravity SouthWest -font URWGothicBook -pointsize 60 -annotate +0+5 "date: %[exif:DateTimeOriginal] %[exif:UserComment]" /home/bjornar/FOTOTEST/*/*/*
However:
1. When the filename appears in the picture it is presided by the text “ASCII…” I would like to get rid of this text, but so far I have not been able to figure out how.
2. Exactly what exif tags can be put into my mogrify command line like this? I have not been able to find any pattern to this.
3. Is there an easier way to achieve this?
In advance - thanks a lot for any help!