EXIV2 retrieve value from a single specific IPTC tag #2658
-
I am trying to retrieve a single value from an image's IPTC tag. I have tried multiple syntax but not getting what I need. Hopefully someone here can help. The command line entry: This retrieves 12 lines of tags. I need the value contained in one tag only - Iptc.Application2.Caption Any help is very much appreciated. Mark |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@airdata3
In the exiv2 app, you can filter specific tags with --key key or groups of tags using --grep str. If you need to, you can control the output more precisely by using --Print flgs instead of --print mod. It is worth noting that when using Windows' |
Beta Was this translation helpful? Give feedback.
-
As always, @postscript-dev has provided a perfect answer. Here's my version of the same message:
Well done @airdata3 to execute a shell command from access. Case Closed? |
Beta Was this translation helpful? Give feedback.
@airdata3
I don't know which version of Exiv2 you are using but the latest 0.28.0 manpage only has a couple of very minor changes from several 0.27.x releases. The new manpage contains more information and examples.
In the exiv2 app, you can filter specific tags with --key key or groups of tags using --grep str. If you need to, you can control the output more precisely by using --Print flgs instead of --print mod.
It is worth noting that when using Windows'
cmd.exe
…