ExifTool Forum

General => Metadata => Topic started by: neebah on October 12, 2017, 12:07:23 PM

Title: IFD0 and EXIFIFD location fix
Post by: neebah on October 12, 2017, 12:07:23 PM
Is there a command I can use to batch fix metadata that should be in IFD0 or EXIFIFD but is in the wrong spot.  Take Whitebalance for example. 
Title: Re: IFD0 and EXIFIFD location fix
Post by: StarGeek on October 12, 2017, 12:11:54 PM
FAQ 20 (https://exiftool.org/faq.html#Q20) maybe?
Title: Re: IFD0 and EXIFIFD location fix
Post by: Phil Harvey on October 13, 2017, 08:04:28 AM
Or a more targeted approach:

exiftool "-exif:all<ifd0:all" "-exif:all<exififd:all" FILE

This will rewrite all IFD0 and ExifIFD tags into their preferred EXIF locations, removing them from the wrong location if necessary.

- Phil