ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: onitoo on April 08, 2012, 11:18:28 AM

Title: Exclude tags strange behaviour
Post by: onitoo on April 08, 2012, 11:18:28 AM
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 ?

Title: Re: Exclude tags strange behaviour
Post by: Phil Harvey on April 08, 2012, 01:42:51 PM
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
Title: Re: Exclude tags strange behaviour
Post by: Phil Harvey on April 09, 2012, 07:51:09 AM
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
Title: Re: Exclude tags strange behaviour
Post by: onitoo on April 11, 2012, 01:53:07 AM
Thanks for your quick response. Version 8.87 fixes the problem.

Have a nice day!