Changing Canon Time Zone tags selectively.

Started by clem, July 27, 2015, 04:55:53 AM

Previous topic - Next topic

clem

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!




Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

clem


Phil Harvey

The command looks like this:

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

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).