ExifTool Forum

ExifTool => Newbies => Topic started by: Jom on August 02, 2022, 01:40:07 PM

Title: How to use -XMP-dc:Subject correctly?
Post by: Jom on August 02, 2022, 01:40:07 PM
I'm use a command line to adding metadata.
If I add keywords separated by commas, or semicolons, then in Adobe Bridge they are visible as one line with quotes.
exiftool -progress: -progress `
-charset FileName=UTF8 -charset ExifTool=UTF8 -charset EXIF=UTF8 `
-XMP-dc:Subject='keyword1,keyword2' `
-ext jpg .
Screenshot_1.jpg
But if I write the keywords in the Bridge exactly like that (keyword1,keyword2), then they are visible on the command line with a line break.
PS D:\_temp\METADATAEXPERIMENTS> exiftool -progress: -progress `
>> -charset FileName=UTF8 -charset ExifTool=UTF8 -charset EXIF=UTF8 `
>> -b `
>> -XMP-dc:Subject `
>> -ext jpg .
======== ./img067.jpg [1/1]
keyword1
keyword2
PS D:\_temp\METADATAEXPERIMENTS>
This means that it is necessary to somehow write down keywords in the command line in a different way so that they are correctly written and displayed in the Bridge.

How to correctly add keywords to -XMP-dc:Subject in command line?
Title: Re: How to use -XMP-dc:Subject correctly?
Post by: StarGeek on August 02, 2022, 04:31:42 PM
See FAQ #17 (https://exiftool.org/faq.html#Q17)
Title: Re: How to use -XMP-dc:Subject correctly?
Post by: Jom on August 02, 2022, 05:11:24 PM
Oh yeah. Thanks!