ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: zuiko3000 on March 20, 2019, 06:30:24 PM

Title: Modifying EXIF Creation and Modification Date at the same time
Post by: zuiko3000 on March 20, 2019, 06:30:24 PM
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,
Title: Re: Modifying EXIF Creation and Modification Date at the same time
Post by: StarGeek on March 20, 2019, 08:42:31 PM
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
Title: Re: Modifying EXIF Creation and Modification Date at the same time
Post by: zuiko3000 on March 24, 2019, 06:28:08 AM
Thank you so much for your information.

It worked!

Best regards,

zuiko3000