Support for commas in keywords

Started by Archive, May 12, 2010, 08:54:28 AM

Previous topic - Next topic

Archive

[Originally posted by neoarch on 2008-11-14 15:49:17-08]

Occasionally, one needs to put commas in IPTC:Keywords in order to display names with the last name displayed first.

The documentation on http://www.exiftool.org/faq.html#Q17" target="_blank">this page says that exiftool supports this concept. For example, it says that if you type

Code:
exiftool -keywords="Harvey, Phil" -keywords="Marley, Bob" DIR

the keywords should be stored appropriately.

The problem is that when you do this, each name is stored separately. If you look at the keywords, you get a list of Harvey, Phil, Marley, Bob.

Is the documentation in error, or is there a way to store Harvey, Phil; Marley, Bob or something to that effect?

Thanks in advance

Archive

[Originally posted by exiftool on 2008-11-14 16:28:46-08]

Code:
> exiftool -keywords="Harvey, Phil" -keywords="Marley, Bob" a.jpg
    1 image files updated

> exiftool -keywords -sep "; " a.jpg
Keywords                        : Harvey, Phil; Marley, Bob

- Phil

Archive

[Originally posted by bogdan on 2008-11-14 16:38:54-08]

Hi,

Could be I wasn't clear (in previous post) due my limited english langauage...

Inside GUI, you already CAN save "Harvey, Phil" as SINGLE keyword. The problem is (or may be), this single keyword will be displayed the same way as if there were two separate keywords: Harvey AND Phil -you see in both cases "Harvey, Phil".

Actually the problem starts when you i.e. try to remove "Phil" only (not knowing "Phil" isn't separate keyword, but part of "Harvey, Phil" keyword).

Just noticed... probably this thread isn't about GUI at all... in this case, sorry for jumping in. Well, it's the same issue, though.

Bogdan

Archive

[Originally posted by bogdan on 2008-11-14 16:41:08-08]

Am I slow at typing :-)

Greetings to both,

Bogdan

Archive

[Originally posted by neoarch on 2008-11-14 16:51:30-08]

Phil,

Thanks for that response, but even that doesn't seem to work for me. It still gives me a comma separated list of all the words supplied.

Thanks.

Archive

[Originally posted by exiftool on 2008-11-14 17:00:14-08]

You must be using ExifTool 7.41 or later to use the -sep
option.

- Phil

Archive

[Originally posted by exiftool on 2008-11-14 17:03:13-08]

Oh.  Also, I'm assuming we're writing IPTC:Keywords here, but
if you are trying this with an XMP file, or a file already containing
XMP:Keywords, then it won't work because XMP:Keywords is not
a List-type tag.

- Phil

Archive

[Originally posted by neoarch on 2008-11-14 18:54:07-08]

That is my problem. I'm still using 7.00. I'll upgrade. Thanks for the help. That's a powerful little program you've developed, by the way.