I am trying to change the DateTimeOriginal tag in some NEF files where I somehow the date of the camera was set to 2007 instead of 2010.
This is the command as I want to add 3 years:
exiftool DateTimeOriginal+='3:0:0 0:0:0' DIR
I have the following NEF file in the subdirectory DIR:
DSC_3508.NEF
And I get the following response:
1 directories scanned
1 image files read
but the Date/Time Original is still ----> : 2007:05:02 16:57:52.15
Does anyone have any ideas?
Stuart
Stuart,
not sure if it is a typo in your post, but you should add a '-' in front of the attribute name. Also, due to the single quotes you might have to put the whole argument in double quotes so it will be parsed as a single argument.
exiftool "-DateTimeOriginal+='3:0:0 0:0:0'" DIR
Christian
Christian is correct about the missing '-', but if you are in windows you should do this (just one set of double quotes):
exiftool -DateTimeOriginal+="3:0:0 0:0:0" DIR
- Phil
Thanks for the help. It all works now.
Stuart