[Originally posted by exiftool on 2007-12-03 19:57:12-08]Hi Louie,
Case problems are common in XMP (Windows Vista is a bad offender
for example). For this reason, exiftool is tolerant about the case of XMP
tag ID's. (I differentiate between the ID's stored in the file and the tag
names that ExifTool uses because they are not always the same. Plus,
exiftool is not case sensitive for tag names.)
So you are right about your understanding of the tag ID.
However, using exiftool to fix the case turns out to be not as simple as
one might think because although exiftool will always create a new tag
with the correct case, it will preserve the incorrect case of an existing
tag if you are just editing the value. So fixing the case of a tag needs
to be done in two steps. First delete the tag, then create it again:
exiftool -o mynewfile.dng -preservedfilename= myoldfile.dng
exiftool -tagsfromfile myoldfile.dng -preservedfilename -overwrite_original mynewfile.dng
After these commands, mynewfile.dng will have PreservedFileName with
the proper case.
- Phil