Hi,
I have been using the exiftool for some time (Windows 10 user). So far I have used the software to edit photos taken with Canon cameras. For editing the lens name I use the following command
"-exif:LensModel="Canon EF 40mm f/2.8 STM" -overwrite_original"
After modification ExifTool displays the field "LensModel" with the entry "Canon EF 40mm f/2.8 STM".
After import into Lightroom, the edited lens name is displayed there in the same way.
For some time I also take pictures with a Sony camera.
When using the above 40mm lens from Canon connected to the Sony-cam via the adapter from Sigma, the lens is displayed in the raw data with the designation "DT 40mm F2.8 SAM".
After modification ExifTool displays the field "LensModel" with the entry "Canon EF 40mm f/2.8 STM" (as desired). After import into Lightroom, however, the original designation "DT 40mm F2.8 SAM" appears again.
In the data field list of the exiftool I found the entry "DT 40mm F2.8 SAM" in another field called ,,Lens".
It seems that with Sony photos this data field ,,Lens" is imported into Lightroom and not the field ,,LensModel".
I tried to change this data field with the following command, but the entry was not changed:
,,-exif:Lens="Canon EF 40mm f/2.8 STM" -overwrite_original"
Can anyone help me?
Thanks
See FAQ #3 (https://exiftool.org/faq.html#Q3).
If you run the command listed there on the file, I suspect that you will find that the lens data you're looking at might be in a different group, possibly a Canon MakerNotes tag. This might not be a tag which will accept simple strings.
Hi,
in the data group "XMP" there are two fields "Lens" and "Lens Model". I would like to try to change the content of these two fields. Which command i have to use?
Thanks
Try
exiftool -XMP:Lens="Lens name" -XMP:LensModel="Lens Model" /path/to/files/
Hi,
many thanks for the hint. It worked. :) :) :)
The fields "Lens Model" and "Lens" are changed in the Exiftool. And Lightroom the changed lens name is displayed.