[Originally posted by mdgbob on 2009-10-18 05:03:59-07]I working with a collection of photos take in 1999 using an Olympus D600L camera and importing them into Lightroom. I've imported them all already and Exiftool has been invaluable. However, at this point I need to go back and change some of them because of incorrect data. I'm running into a problem because Lightroom is picking up an incorrect Capture time - which it uses as the date to order photos.
The Olympus uses [APP12]DateTimeOriginal to store the date, and I have processed using
exiftool "-exif:ModifyDate<app12:DateTimeOriginal" "-exif:CreateDate<app12:DateTimeOriginal" "-exif:DateTimeOriginal<app12:DateTimeOriginal" "-exif:Make=Olympus" "-exif:Model=D-600L" "-exif:FileSource=Digital Camera" *.jpg
exiftool "-IPTC:DateCreated<app12:DateTimeOriginal" "-exif:ExposureTime<app12:ExposureTime" *.jpg
This works well when the Olympus date is correct, however, in many cases, it turn out that I did not set the date when changing batteries and it defaults to 1997-01-01 when the battery is inserted. In those case I set the date to be roughly correct (in most case I know the approximate date of the photos) by ignoring the APP12 date and using something like this is hard set the date
exiftool "-exif:ModifyDate=2003-04-04 00:00:00" "-exif:CreateDate=2003-04-04 00:00:00" "-exif:DateTimeOriginal=2003-04-04 00:00:00" "-IPTC:DateCreated=20030404" *.jpg
The problem I have is that in some cases I made a mistake and hard set the date, when the APP12 date was correct and then imported into lightroom. If I now go back and try to change EXIF:DateTimeOriginal
exiftool "-exif:DateTimeOriginal<app12:DateTimeOriginal" *.jpg
exiftool -s -G *.jpg > wtext
it does not change it, in fact it does not even print out a value for it, however, a look at the file show it exists in the jpeg, and is the value that Lightroom is using for Capture Time that lightroom picked up incorrectly from my wrong value the first time it was imported
but if I use
exiftool "-AllDates+=0000:01:00 0:0:0" *.jpg
it will change that exif:DateTimeOriginal in the file- but no other dates are changed
I then found that
exiftool "-AllDates<app12:DateTimeOriginal" *.jpg
will change exif:DateTimeOriginal - and if I remove the files from lightroom and reimport,then I get the correct capture date
I'm quite confused even though I seem to have found a solution
[Originally posted by exiftool on 2009-10-18 11:47:43-07]I think you are confused because by default exiftool hides
duplicate tag names in the output. This is explained in
FAQ
number 3.
If you have any problems after reading the FAQ, please
let me know.
- Phil