Change file date/time in a .mov files

Started by boumie, January 23, 2018, 01:42:17 PM

Previous topic - Next topic

boumie

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

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

boumie

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

Phil Harvey

Hi Boumie,

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

If so, use this when copying.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

boumie

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

Phil Harvey

Hi Bournie,

I meant to copy the dates like this:

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

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).