ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: pstein on July 10, 2020, 10:13:01 AM

Title: How to set the last modified file timestamp to EXIF DateTimeOriginal?
Post by: pstein on July 10, 2020, 10:13:01 AM
I want to adjust the windows last modified date/timestamp of all *.jpg image files in a directory tree (e.g. with topnode D:\photos\trip123\) to their EXIF header value DateTimeOriginal.

How can I achieve this?

Thank you
Peter
Title: Re: How to set the last modified file timestamp to EXIF DateTimeOriginal?
Post by: Phil Harvey on July 10, 2020, 10:27:06 AM
Hi Peter,

Try this:

exiftool "-filemodifydate<datetimeoriginal" -ext jpg -r D:\photos\trip123\

- Phil