Bug #580

-M option fails and reports success...

Added by Daniel J Blueman about 10 years ago. Updated almost 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:


Target version:0.18


When invoking exiv2 with multiple -M options, the first is processed, and an error is given for the second, but the return code is 0.

$ exiv2 mo -M 'set Exif.Image.Copyright Ascii Me' -M 'set Exif.Image.Orientation Short left, top' _MG_3095.jpg
Warning: Exif.Image.Orientation: Failed to read Short value "left, top"
$ echo $?

This has high impact, since the second EXIF tag update has been reported to succeed, but didn't.


#1 Updated by Andreas Huggel about 10 years ago

The return code of the modify command is currently always 0, not only if the second command fails. But I agree this can be improved.

#3 Updated by Andreas Huggel almost 10 years ago

  • % Done changed from 0 to 100

#4 Updated by Andreas Huggel almost 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux