I am working with version 12.36 on a Windows 10 system.
A (more or less) long time ago I worked with ExifTool feature: create a tag with empty content.
I am sure that the command
-tagname^=
worked properly.
(Sorry, but I do not remember which version I used for my tests in the past.)
Doing a retest of this feature with my application I have seen that this is broken.
This feature is still decribed in helpfile:
Quote"^=" is used to write an empty string instead of deleting the tag ...
E.g. for command
exiftool.exe -exif:software^= testimage.jpg
- I get as answer "1 file updated", but the tag is deleted (in case the tag does exist before).
- I get as answer (with option -v3): "Deleting IFD0:Software" and file keeps unchanged (in case of tag should be created)
Same happens e.g. for
- listtype tag: exiftool.exe -iptc:by-line^=
- lang-alt tags: exiftool.exe -xmp-dc:rights^= -xmp-dc:rights-de^=
I agree that this feature will be used (very) rarely, but it is decribed in help.
So please have a look at this problem.
Please allow also some additional questions:
- will this feature work only for tags with strings as values or
will it work also for e.g. a date/time tag
- in case of a lang-alt: will it work for each "language depending sub-tag" or only for the x-default base-tag
Thankyou very much in advance
Best regards
herb
I will add a note in the documentation that this must be quoted in Windows.
- Phil