Comment 15 for bug 175191

For anyone who needs to restore the original EXIF dates and times without restoring from backup, the following command should do it.

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

(-r option for recursing into lower directories)

Taken from this comment at Gnome Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=340903#c19