|
Sorry Phil, I didnt realize that there is a difference between EXIF and IPTC, when I posted the example. There is another example
exiftool -EXIF:XPKeywords="Phil's Exif" -EXIF:XPKeywords="Tool" -IPTC:Keywords="Phil's Exif" -IPTC:
+Keywords="Tool" test.jpg
exiftool -G -H -EXIF:XPKeywords -IPTC:Keywords test.jpg
[EXIF] 0x9c9e XP Keywords : Tool
[IPTC] 0x0019 Keywords : Phil's Exif, Tool
The example is from a commandline now. XPKeywords always stores the last keyword with my syntax. Maybe I have a quoting problem with my bash-script too. I will check it, after I know, what I did wrong with the XP Keywords. I would also like to mention, that I would like to import the keywords as tags to flickr. Is another syntax possible to create multiple keywords? I create a keyword list with sed and can put any delimiter in the text string. It doesn't work with flickr to write all keywords like
exiftool -EXIF:XPKeywords="Phil's Exif,Tool" -IPTC:Keywords="Phil's Exif,Tool" test.jpg
I tried also other variations as delimiter like a blank. It is ok with flickr only if I use -IPTC:Keywords=... -IPTC:Keywords=... The command is stored in a variable of the bash-script and I execute it without quotes, eg. exiftool $CMD (and not "$CMD"), where CMD="-IPTC:Keywords=... -IPTC:Keywords=..."
|