0

I'm trying to collect image metadata using exiv2 tool.

I do exiv2 -q -K Xmp.photoshop.Credit image.jpg if image haven't any value for such field, I don't get anything in the console. How I can replace an empty output by some stub like 'empty' word?

K. S.
  • 11
  • 1

1 Answers1

0

I guess you can replace it with code below:

exiv2 -q -K Xmp.photoshop.Credit -g Xmp.photoshop.Credit=empty image.jpg
mrbravo
  • 11
  • 2