1

First up: I'm using Windows 8.1 (Actually W10 TP, but it's close enough to 8.1).

I have roughly 32,000 pictures that I've taken over the last 7 years which 'mostly' have correct exif data.

Unfortunately when recently using some software to automatically sort these files into folders; I found out that at least 9,000 of these pictures have wrong or missing exif information for date-taken and/or date-created.

When right clicking on a file and loading properties / details tab, it looks like the "Date Modified" date and time is always (99% of the time) correct. (I'm willing to forgo correct info on that 1%)

Is there a way to automatically edit the "date-taken" and "date-created" information to reflect the "date-modified" information, without going through all 9,000 files individually and doing it myself?

Some pictures which have date taken information have incorrect modified information, so some way to skip images that already have correct "date taken" would also be appreciated.

1
  • Can you clarify how any automated process can know what date is correct?
    – fixer1234
    Feb 12, 2015 at 4:39

1 Answer 1

3

exiftool.exe "-CreateDate>DateTimeOriginal" *.jpg

related post

download exiftool.exe

11
  • None of my images appear to have "DateTimeOriginal" as a value / property. exiftool is unable to lookup or set this value. :S
    – Matthew
    Feb 11, 2015 at 13:06
  • alternatively you could try out with AllDates: exiftool.exe "-CreateDate>AllDates" *.jpg Feb 11, 2015 at 13:09
  • If some are .jpg and some are .png (etc) do I just have to run the command multiple times / for each extension? Or is there an easier way? (the folders only contain images / movies)
    – Matthew
    Feb 11, 2015 at 13:13
  • yes or you can run the command with *.* but you have to be aware that it means all type of files in that directory Feb 11, 2015 at 13:16
  • 1
    Are the create and/or modified file times correct? If so you could set the EXIF values from the file data, using exiftool -DateTimeOriginal=.... You would probably need PowerShell or bash in order to format the date/time correctly, including seconds.
    – AFH
    Feb 11, 2015 at 20:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .