ExifTool Forum

General => Metadata => Topic started by: clem on July 27, 2015, 04:55:53 AM

Title: Changing Canon Time Zone tags selectively.
Post by: clem on July 27, 2015, 04:55:53 AM
I don't know when Canon started supporting TimeZones & Daylight Savings time values, but now that I have a new Canon, I was quite chuffed to see that it did support that 'feature'.

Problem: Canon's Time Zone selection has an additional option: Daylight Savings Time. I forgot to change that to reflect the reality on the ground.

So how would I grep/exiftool through a few thousand CR2 files and date-sorted folders and

if
   TimeZone = +10:00
change
   Daylight Settings = Off


Thanks again for a super forum and a super tool!



Title: Re: Changing Canon Time Zone tags selectively.
Post by: Phil Harvey on July 27, 2015, 07:45:47 AM
What model are we talking about?

- Phil
Title: Re: Changing Canon Time Zone tags selectively.
Post by: clem on July 27, 2015, 03:01:49 PM
Model Re: Camera? Canon 5DS
Title: Re: Changing Canon Time Zone tags selectively.
Post by: Phil Harvey on July 27, 2015, 08:44:32 PM
The command looks like this:

exiftool -if "$timezone eq '+10:00'" DaylightSavings=Off -ext cr2 -r DIR

- Phil