Change date

Started by mnigri, July 27, 2021, 04:03:17 PM

Previous topic - Next topic

mnigri

My dashcam recorded videos while configured with a wrong date. Running the command

exiftool -a -s -G1 -time:all file.mp4

I get:

[System]        FileModifyDate                  : 2021:07:27 16:15:50-03:00
[System]        FileAccessDate                  : 2021:07:27 16:53:29-03:00
[System]        FileInodeChangeDate             : 2021:07:27 16:53:29-03:00
[QuickTime]     CreateDate                      : 2021:06:24 10:10:54
[QuickTime]     ModifyDate                      : 2021:06:24 10:10:54
[Track1]        TrackCreateDate                 : 2021:06:24 10:10:54
[Track1]        TrackModifyDate                 : 2021:06:24 10:10:54
[Track1]        MediaCreateDate                 : 2021:06:24 10:10:54
[Track1]        MediaModifyDate                 : 2021:06:24 10:10:54
[Track2]        TrackCreateDate                 : 2021:06:24 10:10:54
[Track2]        TrackModifyDate                 : 2021:06:24 10:10:54
[Track2]        MediaCreateDate                 : 2021:06:24 10:10:54
[Track2]        MediaModifyDate                 : 2021:06:24 10:10:54

All dates above showing 2021:06:24 are wrong. They should be 2021:07:24

How can I change them?

Thanks

Phil Harvey

Try this command to add 1 month to all writable date/time tags:

exiftool -time:all+="0:1:0 0:0:0" 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 ($).

mnigri