News:

2023-08-10 - ExifTool version 12.65 released

Main Menu

xmp

Started by roger, December 09, 2012, 05:40:14 PM

Previous topic - Next topic

roger

don't know how to use the command
exiftool -xmp:XP comment xxx.jpg

I want to display the XP comment field of XMP in a jpg file
exiftool -xmp:all xxx.jpg displays it but also displays the other fields

exiftool -xmp:"XP comment" xxx.jpg
exiftool -xmp:'XP comment' xxx.jpg
exiftool -xmp:comment xxx.jpg

all are wrong.



StarGeek

The command you want to use is
ExifTool -XPComment xxx.jpg

Anytime you want to figure out how to display individual tags, you can add "-s" to the options and that will give you the short name of the tag to use in the command.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

roger

it is OK. thanks a lot.

Phil Harvey

Also, part of the confusion may be due to the fact that XPComment is not an XMP tag.  Use -G when extracting to see the tag groups.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).