IFD0 and EXIFIFD location fix

Started by neebah, October 12, 2017, 12:07:23 PM

Previous topic - Next topic

neebah

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. 

StarGeek

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).