How to use -XMP-dc:Subject correctly?

Started by Jom, August 02, 2022, 01:40:07 PM

Previous topic - Next topic

Jom

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?

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Jom