[Originally posted by mattjones99 on 2006-07-31 19:51:59-07]Hello,
I'm trying to update the EXIF date on a whole batch of files for which the camera was set for 2005 instead of 2006.
But for starters, I'm trying to just do one file. Next is my command:
/Users/matt/Downloads/Image-ExifTool-6.30/exiftool -IgnoreMinorErrors -AllDates+="1:0:0 0:0:0" _MJP5183.NEF
And here is the output.
Error: [minor] 2060 unreferenced bytes at end of file not copied - _MJP5183.NEF
0 image files updated
1 files weren't updated due to errors
Note that these files were imported by Photo Mechanic, which may have put the 2060 bytes at the end of the file during the import.
Any help would be appreciated.
Peace and many Thanks in Advance!!!
Matt
[Originally posted by exiftool on 2006-08-22 11:49:54-07]
I thought I fixed the PhotoMechanic compatibility. I'll take another look at this as soon as I get a chance. You can use the -m option to rewrite the file anyway, but this will drop the unreferenced information at the end of the file.
[Originally posted by exiftool on 2006-08-23 15:20:42-07]
I just noticed your "-IgnoreMinorErrors" in the command line, which is wrong. The option is "-m".
I have done some tests with a sample NEF image I have which was edited by PhotoMechanic, but there are no problems with a trailer on this image. Could you provide me with a sample image which generates this error and I will take a look to see what the trailer data contains? You can email it to philharvey66 at gmail.com. Thanks.
- Phil
[Originally posted by gmichael on 2006-09-28 08:42:52-07]
Hi Phil,
I'm also seeing this message with NEF's processed by PM. Turning on IgnoreMinorErrors works, but I was wondering if you had a chance to look into the unreferenced bytes.. Let me know if you need a file to look at.
By the way, thanks for creating and maintaining this great perl module!
-G
[Originally posted by exiftool on 2006-09-28 11:34:45-07]
I tried to take a look at this, but my Photomechanic trial version had expired.
If you could send a sample to philharvey66 at gmail.com, that would be great.
- Phil
[Originally posted by exiftool on 2006-09-29 13:03:09-07]
Thanks for the sample. The extra bytes at the end of this file are photomechanic-specific state information. For now, it is reasonable to use the -m option to ignore the error and discard this information when rewriting. However, I will look into adding the ability to recognize this trailer and copy over the information if it exists.