Sunday, May 8, 2022

XMP metadata manipulation

Add a new tag into existing subject tags in the .xmp sidecar:

exiv2 -M 'set Xmp.digiKam.TagsList my-new-tag'  mo xxx.JPG.xmp

exiv2 -M 'set Xmp.dc.subject my-new-tag'  mo xxx.JPG.xmp

 

Print specific tag:

exiv2 -g TagsList pr xxx.JPG.xmp
 

No comments: