Jhead and CR2 Files

I took my Canon G11 camera 10 timezones away from home a few weeks ago, and (of course) forgot to reset the camera's clock. I shot all my pics in Canon Raw format (CR2).


I exported my time-errant files to a folder as original CR2s using Aperture's Export function.


I used Jhead, and its "jhead -ta+10:00 *.jpg" command to move the exif time by 10 hours, and then the "jhead -ft" command to update the file created data to the exif date/time.


So here's the "rub"-- 160 of the CR2 files were converted perfectly. However, 40 CR2 files are "reported" by jhead as not being jpegs (which they are not, obviously, but that wasn't an issue with the other 160 CR2 files), and were not converted. The wayward files are in numeric order, and I didn't perform any previous file manipulation on them. Their Exif data (as viewed in Aperture, and Preview's Inspector tool), seems valid... I've tried to re-export and then convert the wayward 40 files, but I still get the same 'not a jpeg' error message on them.


I could export them as large jpeg files, and perform the conversion, but frankly I'm now interested in *why* Jhead thinks they aren't valid files...


Any photo-file-buffs out there have any thoughts as to what the issue may be with my 40 wonky-files?


TIA

Bob







Posted on Oct 31, 2019 11:03 AM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Oct 31, 2019 11:58 AM

I cannot help with Jhead, but why not use Aperture's tools to correct the timezone? I really love the way, how we can specify the timezones in Aperture. If you collect all photos with the wrong timezone in an album, you could use "Metadata > Batch Change". Click "Time adjustment > Timezone adjustment", then specify the timezone the camera has been set to as the "Camera's Timezone", then the "Actual Timezone" you want to use. I do not know any ozther application, that has such an easy timezone correction.



Similar questions

8 replies
Sort By: 
Question marked as ⚠️ Top-ranking reply

Oct 31, 2019 11:58 AM in response to Bob Gold

I cannot help with Jhead, but why not use Aperture's tools to correct the timezone? I really love the way, how we can specify the timezones in Aperture. If you collect all photos with the wrong timezone in an album, you could use "Metadata > Batch Change". Click "Time adjustment > Timezone adjustment", then specify the timezone the camera has been set to as the "Camera's Timezone", then the "Actual Timezone" you want to use. I do not know any ozther application, that has such an easy timezone correction.



Reply

Oct 31, 2019 2:21 PM in response to Bob Gold

Leonie,


Saw your reply in my email, but can't find it in discussions...


The reason I didn't try the Aperture Batch Change (Time Zone), was because I didn't know about it...I'm just shaking my head, and smiling, right now...


Thanks for your solution to my bigger problem!


Bob

Reply

Nov 2, 2019 8:16 PM in response to léonie

léonie,

I am still sad it has been discontinued and not further developed.

I feel the same way and I'm sure you must know that there are many others who hold that thought.

For a long time I kept hoping someone or some group would realize what a wonderful App Aperture was and begin support and continued development. Oh, well! If wishes were horses...

Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Jhead and CR2 Files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.