ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: mnigri on July 27, 2021, 04:03:17 PM

Title: Change date
Post by: mnigri on July 27, 2021, 04:03:17 PM
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
Title: Re: Change date
Post by: Phil Harvey on July 27, 2021, 04:13:03 PM
Try this command to add 1 month to all writable date/time tags:

exiftool -time:all+="0:1:0 0:0:0" FILE

- Phil
Title: Re: Change date
Post by: mnigri on July 27, 2021, 04:36:36 PM
Just Perfect!

Thanks.