ExifTool Forum

ExifTool => Newbies => Topic started by: boumie on January 23, 2018, 01:42:17 PM

Title: Change file date/time in a .mov files
Post by: boumie on January 23, 2018, 01:42:17 PM
Hello

I have a few .mov files with for example the folowing data:

File Modification Date/Time     : 2018:01:20 02:18:27+01:00
File Access Date/Time           : 2018:01:22 20:08:02+01:00
File Creation Date/Time         : 2018:01:22 18:55:17+01:00
Create Date                     : 2016:10:23 11:19:54


I would like to change the date of the first 3 with the data from Create Date.

How do I do this? I am really a newbie! I have been looking in the FAQ and on in this forum, and the more I look, the more complicated it all apears  to me.

Thanks for the information.

Boumie
Title: Re: Change file date/time in a .mov files
Post by: Phil Harvey on January 23, 2018, 01:53:15 PM
Hi Boumie,

You can't change the file access date/time, but the other two may be set like this:

exiftool "-filemodifydate<createdate" "-filecreatedate<createdate" FILE

... not too complicated after all.

- Phil
Title: Re: Change file date/time in a .mov files
Post by: boumie on January 23, 2018, 04:56:16 PM
Indeed, it worked like a charm. Thanks Phil!

Now the only problem is that there is a time difference.
I think it has something to do with the time zones or summer/winter time.

I have for example 2 files from 2016:

one from winter time that has the time: 14:36:18+01:00 (in windows it shows like 14:36:18, while it should be 15:36:18)
one from summer time that has the time: 13:23:13+0200 (in windows it shows like 13:23:13, while it should be 15:23:13)

My timezone is GMT+1

Can this be corrected?

Thanks for the help.
Boumie
Title: Re: Change file date/time in a .mov files
Post by: Phil Harvey on January 23, 2018, 09:25:57 PM
Hi Boumie,

Is the CreateDate correct if you add this to your command?:  -api quicktimeutc

If so, use this when copying.

- Phil
Title: Re: Change file date/time in a .mov files
Post by: boumie on January 24, 2018, 12:00:49 PM
Hi Phil

The Create Date is correct if I use the command.
But what do you mean by, 'use this when copying'?
Now I just see the correct date, but it's not changed?

Thx for the help
Boumie
Title: Re: Change file date/time in a .mov files
Post by: Phil Harvey on January 24, 2018, 12:18:46 PM
Hi Bournie,

I meant to copy the dates like this:

exiftool "-filemodifydate<createdate" "-filecreatedate<createdate" -api quicktimeutc FILE

- Phil