Author Topic: Editing time stamps of Canon's CR3 files  (Read 1194 times)

Charlyna

  • Newbie
  • *
  • Posts: 3
Editing time stamps of Canon's CR3 files
« 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:

Code: [Select]
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

Code: [Select]
exiftool -AllDates-=9 IMG_0421.CR3
and checking again, I got:

Code: [Select]
[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.


StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 4066
Re: Editing time stamps of Canon's CR3 files
« Reply #1 on: September 26, 2018, 12:59:00 PM »
What's the output when you run your time shift command?
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 17020
    • ExifTool Home Page
Re: Editing time stamps of Canon's CR3 files
« Reply #2 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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Charlyna

  • Newbie
  • *
  • Posts: 3
Re: Editing time stamps of Canon's CR3 files
« Reply #3 on: September 26, 2018, 01:12:49 PM »
What's the output when you run your time shift command?

After typing

Code: [Select]
exiftool -alldates-=9 IMG_0421.CR3
I got the message

   
Code: [Select]
1 image files updated
which is somewhat true, since some of the time stamps indeed are updated. Unfortunately not those I wanted to change.
« Last Edit: September 26, 2018, 01:32:10 PM by Charlyna »

Charlyna

  • Newbie
  • *
  • Posts: 3
Re: Editing time stamps of Canon's CR3 files
« Reply #4 on: September 26, 2018, 01:18:25 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.