ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: _alexs_ on July 16, 2012, 09:52:47 AM

Title: Bug? Tags saved with quotes
Post by: _alexs_ on July 16, 2012, 09:52:47 AM
Just found that exiftool writes user-defined tags including single quotes. For example, if I write tag with command
exiftool -Specie='Canis lupus' image.jpg
Then tag value saved as 'Canis lupus' including this single quotes. IMHO, it is much better to strip this quotes and save tag value without them
Title: Re: Bug? Tags saved with quotes
Post by: BogdanH on July 16, 2012, 11:13:15 AM
Hi,

If you're on Windows, use double quotes, i.e.:
exiftool -Specie="Canis lupus" image.jpg

Bogdan
Title: Re: Bug? Tags saved with quotes
Post by: _alexs_ on July 17, 2012, 09:20:22 AM
Thanks for the answer, but unfortunately it didn't work. I tried with single and double quotes and always this quotes are added to tag value.
Title: Re: Bug? Tags saved with quotes
Post by: StarGeek on July 17, 2012, 07:42:11 PM
Maybe try quotes around the whole section?

exiftool "-Specie=Canis lupus" image.jpg
Title: Re: Bug? Tags saved with quotes
Post by: _alexs_ on July 18, 2012, 03:54:55 AM
Great, thanks! With quotes around whole option it works