Q: Do we have a utility someplace that can be used to correct the date and time for the images in a given folder?
What I'd like to do is: read each .JPG file, and obtain the Camera Value for Date and Time;
Then use the touch utility to set the date/time on that image = to the value obtained from the actual .jpeg
It's fairly simple to correct the date only when all of the .jpeg in the folder were made on the same day and the date shows on the name of the folder -- or one or more images were not modified.
just
Code:
touch *.JPG --date="2018-08-13 1300"
but this sets all the images as having been taken at 1300 hrs. Close -- but -- can we get it right ?
After you have use a program e.g. Shotwell -- to apply ratings or tags to images -- the date/time on the images will be changed to the date/time of modification.
this, of course because a program like Shotwell rewrites the .jpeg files in order to incorporate new data into the IPTC entries in the .jpeg image file.