Modifying EXIF Creation and Modification Date at the same time

Started by zuiko3000, March 20, 2019, 06:30:24 PM

Previous topic - Next topic

zuiko3000

Hi,

I am changing time by one hour some files using -alldates but the files I get have today creation and modification date. I guess I have to copy EXIF to creation and modification date but I wonder if it's possible to get everything just in one pass. Change time to EXIF but also Creation and Modification Date/Time.

Best regards,

StarGeek

I'm guessing you mean you're using something like "-AllDates-=1" to shift by hour?

If so, try
exiftool -globaltimeshift -1 -TagsFromFile @ -AllDates "-FileModifyDate<DateTimeOriginal" "-FileCreateDate<DateTimeOriginal" FILE
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

zuiko3000

Thank you so much for your information.

It worked!

Best regards,

zuiko3000