ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: silopolis on November 17, 2011, 08:00:24 AM

Title: groupNames not printed with forcePrint option
Post by: silopolis on November 17, 2011, 08:00:24 AM
Hi,

First post so I'll begin with _much_ deserved thanks for this _great_ piece of software.

Now the issue: when using the following command, groupNames are not printed with the forcePrint option for empty tags:

$ exiftool -tab -short --printConv -groupNames1 -forcePrint \
    -IPTC:ObjectName \
    -XMP-dc:Title \
    [...]
    <filename>


Outputs:

        ObjectName      -
        Title   -
        ImageDescription        -
        By-lineTitle    -
        CaptionAbstract -
XMP-dc  Description     Megophryidae. IndonĂ©sie, Malaisie.
        ImageDescription        -
        Artist  -
        Copyright       -
XMP-tiff        Artist  <artist_name>
XMP-tiff        Copyright       <copyright>
        By-line -
        Credit  -
        CopyrightNotice -
[...]


Is there some way to obtain the desired output ?
If not, and if possible, that'd be a nice improvement.

Thanks you in advance for your answer(s) and, again, for the software and the extended documentation.
Bests
Title: Re: groupNames not printed with forcePrint option
Post by: Phil Harvey on November 17, 2011, 08:11:48 AM
Unfortunately, I cannot see how this could be implemented.  ExifTool has no way to determine the group name for a tag that it hasn't extracted.  Even though you specify the group1 names for the requested tags, ExifTool doesn't know if these are family 1 group names (they could potentially belong to any other family).

- Phil
Title: Re: groupNames not printed with forcePrint option
Post by: silopolis on November 17, 2011, 08:16:33 AM
Hi Phil,

Thank you for your light speed reply and for the clearly understandable explainations.

Bests