Я использую следующую команду для сохранения тега с пробелом:
exiftool -config xmp.config -overwrite_original -PropertyID=' ' /Users/admin/Downloads/Files/09913/1KingWithSofaBed_rm521_1.tif
Используя опцию -X, я вижу, что символ пробела был успешно сохранен:
exiftool -X -filename -PropertyID /Users/admin/Downloads/Files/09913/1KingWithSofaBed_rm521_1.tif
<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
<rdf:Description rdf:about='/Users/admin/Downloads/Files/09913/1KingWithSofaBed_rm521_1.tif'
xmlns:et='http://ns.exiftool.ca/1.0/' et:toolkit='Image::ExifTool 11.84'
xmlns:System='http://ns.exiftool.ca/File/System/1.0/'
xmlns:XMP-xmp='http://ns.exiftool.ca/XMP/XMP-xmp/1.0/'>
<System:FileName>1KingWithSofaBed_rm521_1.tif</System:FileName>
<XMP-xmp:PropertyID> </XMP-xmp:PropertyID>
</rdf:Description>
</rdf:RDF>
Проблема в том, что -t или -T не показывают пробел:
exiftool -t -filename -PropertyID /Users/admin/Downloads/Files/09913/1KingWithSofaBed_rm521_1.tif
File Name 1KingWithSofaBed_rm521_1.tif
Property ID
exiftool -T -filename -PropertyID /Users/admin/Downloads/Files/09913/1KingWithSofaBed_rm521_1.tif
1KingWithSofaBed_rm521_1.tif
В обоих случаях пробел отсутствует (я проверил содержимое с помощью шестнадцатеричного редактора) для поля PropertyID .
Это ограничение exiftool или его можно показать с помощью опции -int или -T?