ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: BogdanH on February 09, 2012, 06:08:56 AM

Title: Removing tags from Makernotes
Post by: BogdanH on February 09, 2012, 06:08:56 AM
Hi Phil,

I'm just curious: how come, one can remove i.e. -SerialNumber tag from NEF Makernotes, but not from CR2?


My mistake... tag actually isn't removed from NEF, it's content is just set to "empty" by using:
exiftool -SerialNumber= MyPhoto.NEF
The same command for CR2 doesn't change anything.

Bogdan
Title: Re: Removing tags from Makernotes
Post by: Phil Harvey on February 09, 2012, 07:12:15 AM
Hi Bogdan,

You can't delete either.  Since the Nikon serial number is stored as a string, the -serialnumber= syntax works to set the serial number to an empty string.

However, Canon stores the serial number as an integer, so with CR2 images the closest equivalent would be -serialnumber=0

- Phil
Title: Re: Removing tags from Makernotes
Post by: BogdanH on February 09, 2012, 07:18:43 AM
Hi Phil,

I didn't noticed your post when modifying my message. Thanks for answer.

Bogdan