Exclude tags strange behaviour

Started by onitoo, April 08, 2012, 11:18:28 AM

Previous topic - Next topic

onitoo

Hi,

All along I used an old version ExifTool (v8.67) to remove the surplus metadata from the jpg file after editing an image. The command I used was (on a Mac):

exiftool -@ opt.args image.jpg

contents of the file opt.args
-all=
--ifd0:all
--ifd1:all
--exififd:all
-Software=
-MaxApertureValue=
-SubjectDistance=
-SerialNumber=
-LensInfo=
-LensModel=
-OwnerName=
-DateTimeOriginal>FileModifyDate
-overwrite_original

All other tags were removed while keeping the ifd0, ifd1, and exififd sections.

But until lately I upgraded to the latest version ExifTool (v8.86), I run the same command but every tags including the 3 sections mentioned earlier were gone.

I made a few changes to the opt.args file with different combinations for testing and found out that if I just delete the option "DateTimeOriginal>FileModifyDate" in opt.args, then everything would be just like before -- all other tags removed while keeping the ifd0, ifd1, and exififd.

I'm not sure if something has went wrong or is there any limitation in using the option file like this ?


Phil Harvey

Thank you for pointing this out!  This appears to be a bug introduced in 8.70 when I changed the order of processing when copying tags.  I'll look into this.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Phil Harvey

Version 8.87 is now available, and should solve this problem.

Please let me know if you notice any other problems.

Thanks again for this bug report!  I take problems like this very seriously.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

onitoo

Thanks for your quick response. Version 8.87 fixes the problem.

Have a nice day!