Write mode -wm for tag IFD0:Artist

Started by herb, April 24, 2020, 05:08:09 AM

Previous topic - Next topic

herb

Hello Phil,

Working with Exiftool v11.95 on a Windows 7 system e.g. with DOS-box I have the following finding:

My jpg test image "test.jpg" contains (together with many others) the value: -IFD0:Artist=artist1

For me the following command
exiftool.exe -use mwg -wm cg -IFD0:artist=artist2 test.jpg
does not behave correct:
- because of -use mwg the tag "artist" has become a listtype tag
- because of -wm cg Exiftool should not write the tag
- but the result is an update of artist: -IFD0:artist=artist1; artist2

Repeating the test with tag -IPTC:By-line the result is: 0 files updated, 1 file unchanged
This is for me the correct behaviour.

Command
exiftool.exe -use mwg -wm wcg -IFD0:artist=artist2 test.jpg
behaves correct and replaces the old value.

Is it an error or do I have a wrong understanding?
Thanks for your help in advance
Best regards
herb

Phil Harvey

Hi Herb,

Thanks for this report.

This should be fixed in ExifTool 11.96 (just released).

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

herb

Hello Phil,

thanks for the new version and also thanks for the correction.

Best regards
herb