I'm trying to use the
-listx option with multiple GROUP arguments after it. I'm using
-stay_open and the relevant portion of my command file is:
-q
-listx
-XMP-pdfx:all
-XMP-ph:all
-f
but it appears only one group can be given since when this is executed it returns the
-listx output for
-XMP-pdfx:all and then gets error saying there is no file name specified.
I also tried
-XMP-pdfx:all:XMP-ph:all and
-XMP-pdfx:XMP-ph:all which did not work either.
The documentation for
-listx indicates (sort of) that multiple
GROUP names can be given,
Quote-listx options may be followed by an additional argument of the form -GROUP:All to list only tags in a specific group, where GROUP is one or more family 0-2 group names (excepting EXIF IFD groups) separated by colons.
but no example of that. Is it possible? If so how would I do it? (with just one call to execute exiftool)
(I had been calling exiftool twice to do this before but I'm trying to optimize)Thanks!
Curtis
Hi Curtis,
Sorry, -listx only accepts one argument. The colon-delimited list of group names is the same as any other tag, and narrows the namespace rather than expands it (ie. -xmp:time:all selects only XMP tags relating to time).
- Phil
Got it... that is what I thought. I don't need to use -listx often this way anyways, only when files contain tags previously unknown to exiftool and then only when it has more than one new g1 tag.
Thanks for the quick response!
Curtis