ExifTool Forum

ExifTool => Newbies => Topic started by: Charlyna on September 26, 2018, 12:11:39 PM

Title: Editing time stamps of Canon's CR3 files
Post by: Charlyna on September 26, 2018, 12:11:39 PM
Dear all,

I just installed exiftool to correct the CreateDate of some photos taken in Canon's CR3 RAW format with a Canon EOS M50 on a Macbook (macOS High Sierra, version 10.13.6.).

Checking the current state of the file, I got:

exiftool -time:all -a -G1 -s IMG_0421.CR3

[System]      FileModifyDate                  : 2018:09:24 03:52:38-07:00
[System]      FileAccessDate                  : 2018:09:25 19:44:48-07:00
[System]      FileInodeChangeDate             : 2018:09:25 19:44:46-07:00
[IFD0]        ModifyDate                      : 2018:09:24 03:52:36
[ExifIFD]     DateTimeOriginal                : 2018:09:24 03:52:36
[ExifIFD]     CreateDate                      : 2018:09:24 03:52:36


But then, after typing

exiftool -AllDates-=9 IMG_0421.CR3

and checking again, I got:

[System]        FileModifyDate                  : 2018:09:25 19:53:21-07:00
[System]        FileAccessDate                  : 2018:09:25 19:53:23-07:00
[System]        FileInodeChangeDate             : 2018:09:25 19:53:21-07:00
[IFD0]          ModifyDate                      : 2018:09:24 03:52:36
[ExifIFD]       DateTimeOriginal                : 2018:09:24 03:52:36
[ExifIFD]       CreateDate                      : 2018:09:24 03:52:36


So only the FileModify/Acces/ChangeDates have been updated to the current time, but ModifyDate, DateTimeOriginal, and CreateDate remain unaltered.

I have also tried with a JPEG, and this works fine (ModifyDate, DateTimeOriginal, and CreateDate shifted by 9h in my example). So, is there an issue with the CR3 files? Do I need to do something else to change the time stamps for those files? Any help is appreciated.

Title: Re: Editing time stamps of Canon's CR3 files
Post by: StarGeek on September 26, 2018, 12:59:00 PM
What's the output when you run your time shift command?
Title: Re: Editing time stamps of Canon's CR3 files
Post by: Phil Harvey on September 26, 2018, 01:03:26 PM
ExifTool only has limited write capabilities for CR3 files.  (Basically, you can only write XMP and some QuickTime tags.)

- Phil
Title: Re: Editing time stamps of Canon's CR3 files
Post by: Charlyna on September 26, 2018, 01:12:49 PM
Quote from: StarGeek on September 26, 2018, 12:59:00 PM
What's the output when you run your time shift command?

After typing

exiftool -alldates-=9 IMG_0421.CR3

I got the message

    1 image files updated

which is somewhat true, since some of the time stamps indeed are updated. Unfortunately not those I wanted to change.
Title: Re: Editing time stamps of Canon's CR3 files
Post by: Charlyna on September 26, 2018, 01:18:25 PM
Quote from: Phil Harvey on September 26, 2018, 01:03:26 PM
ExifTool only has limited write capabilities for CR3 files.  (Basically, you can only write XMP and some QuickTime tags.)

- Phil

Thanks. Then I guess I can only convert the CR3 files to JPEG, and then try to fix the time shift at least for the JPEGs.