Change time on all kind of Video/photo files to UTC 0

Started by b193709, April 11, 2022, 12:41:33 PM

Previous topic - Next topic

b193709

Hi all:

I'm looking for changing all time data related to various photo/video files to UTC 0. I know which is the timezone / swift time on each case, so I know the number of hours I need to add or remove on each case,  I need to confirm the best way of change all tags that matters for keeping my files consistent on all time tags (especially on CreationDate and it's different formats :-) ), as if they where shot on UTC 0.

I have CR2, JPG, NEF, ARW, MP4, MOV, MTS basically.

I'm working on Mac and last Exiftool version.

Thanks in advanced.

Phil Harvey

ExifTool doesn't edit MTS files.

As for the others, I think your task is more complex than you are thinking because some date/times are already stored as UTC.  So you would have to analyze each file and shift only selected date/time tags.  These tags will likely be different for each format of 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 ($).

b193709

Thanks for the reply.

Is more realistic try to approach it only to the CreateDate that is relevant for software like lightroom and others for sorting the photos?. In this case should "alldates" useful for my case?. Can you share an example in case?


Phil Harvey

You could try this to shift the times back by 2 hours:

exiftool -alldates-=2 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 ($).

b193709