Bad PreviewIFD directory error with EXIFTool


I tried to change an EXIF tag on a JPG file using the exiftool command at the shell. I got this warning and error:

$ exiftool -Exif:Copyright="Obama" DSC_0023.JPG
Warning: Truncated PreviewIFD directory. IFD dropped. - DSC_0023.JPG
Error: [minor] Bad PreviewIFD directory - DSC_0023.JPG


The PreviewIFD is a feature related to the image preview that is stored along with the JPG file captured by a Nikon camera. This warning and error can be safely ignored by using the -m option to exiftool:

$ exiftool -m -Exif:Copyright="Obama" DSC_0023.JPG

Tried with: EXIFTool 9.46-1 and Ubuntu 14.04


One thought on “Bad PreviewIFD directory error with EXIFTool

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.