I have been using Exifer for many years to re-date and re-name my photos based on the EXIF dates from the camera(s).
What I would like to do then is to insert the
Date Taken and
Date Modified EXIF values based on the JPG file's
Modified Date (which is correct to the time of taking the photo) and to also set the
iPhone 3GS (although the process would apply to any JPG image which has no EXIF data, regardless of the source)
So, is there any software available which will automatically set the EXIF Dates based on the file's Modified date property?
Or, is there some switch in ExifTool that I have missed possibly?
I would like to be able to do this as a batch on a folder of images.
EDIT: Following John's answer, this is the Windows .bat file I created to do this. The order of commands is important so as not to overwrite any of the dates with other commands.
"D:\Program Files\ExifTool\exiftool.exe" "-FileModifyDate>AllDates" * "D:\Program Files\ExifTool\exiftool.exe" "-Make=Apple" * "D:\Program Files\ExifTool\exiftool.exe" "-Model=iPhone 3GS" * "D:\Program Files\ExifTool\exiftool.exe" "-FileModifyDate<DateTimeOriginal" * Pause