When trying to edit tags (ExifTool 9.2.9.0 under Win 7) some edits fail because of "Bad ExifIFD directory" (sample command and output below). Apologies if I've missed something obvious, but how do I fix this so that I can make edits? Thanks.
exiftool "-usercomment<xpcomment" "c:\users\daa\desktop\2014-07_006a.jpg"
Warning: Bad ExifIFD directory - c:\users\daa\desktop\2014-07_006a.jpg
Error: [minor] Bad ExifIFD directory - c:\users\daa\desktop\2014-07_006a.jpg
0 image files updated
1 files weren't updated due to errors
Adding the -m option will ignore minor errors, but beware that information in the affected directory may be lost.
- Phil
Thanks for this, but using -m results in a longer error message, and the file still isn't updated:
Warning: Bad ExifIFD directory - c:/users/daa/desktop/2014-07_006a.jpg
Warning: Deleted bad ExifIFD directory - c:/users/daa/desktop/2014-07_006a.jpg
Error: Truncated ExifIFD directory - c:/users/daa/desktop/2014-07_006a.jpg
0 image files updated
1 files weren't updated due to errors
Does this error mean that I can't make any edits to this file, or does it only apply to the specific tag (in this case usercomment) that I'm trying to update? Thanks.
To make any changes to the metadata of this file it must first be rebuilt to remove the errors. See FAQ 20 (https://exiftool.org/faq.html#Q20) for details.
- Phil