News:

If this site goes down it is because of the crappy DreamHost web hosting: They will disable your "unlimited traffic" web server if a single bot hammers the site with a moderate load.  If necessary, an alternate ExifTool forum page is available at https://sourceforge.net/p/exiftool/discussion/

Main Menu

Editing time stamps of Canon's CR3 files

Started by Charlyna, September 26, 2018, 12:11:39 PM

Previous topic - Next topic

Charlyna

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.


StarGeek

What's the output when you run your time shift command?
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

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

#3
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.

Charlyna

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.