ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: JosephK on May 13, 2014, 12:32:59 AM

Title: Feature request: display option to skip whole tag groups
Post by: JosephK on May 13, 2014, 12:32:59 AM
Similar to the -x to skip individual tags, it would be nice if whole tag groups could be skipped.
Title: Re: Feature request: display option to skip whole tag groups
Post by: Phil Harvey on May 13, 2014, 07:08:11 AM
       --TAG
            Exclude specified tag from extracted information.  Same as the -x
            option.  Once excluded from the output, a tag may not be re-
            included by a subsequent option.  May also be used following a
            -tagsFromFile option to exclude tags from being copied (when
            redirecting to another tag, it is the source tag that should be
            excluded), or to exclude groups from being deleted when deleting
            all information (ie. "-all= --exif:all" deletes all but EXIF
            information).  But note that this will not exclude individual tags
            from a group delete (unless a family 2 group is specified, see
            note 4 below).  Instead, individual tags may be recovered using
            the -tagsFromFile option (ie. "-all= -tagsfromfile @ -artist").
            Wildcards are permitted as described above for -TAG.

Hmmm.  I guess the documentation doesn't make this clear.  I'll see what I can do to improve this.

TAG may contain a group name and wildcards.  To exclude a full group, use --GROUP:all or -x GROUP:all.

- Phil

Edit: Updated the documentation to read:

       --TAG
            Exclude specified tag from extracted information.  Same as the -x
            option.  Group names and wildcards are permitted as described
            above for -TAG.  Once excluded from the output, a tag may not be
            re-included by a subsequent option.  May also be used following a
            -tagsFromFile option to exclude tags from being copied (when
            redirecting to another tag, it is the source tag that should be
            excluded), or to exclude groups from being deleted when deleting
            all information (ie. "-all= --exif:all" deletes all but EXIF
            information).  But note that this will not exclude individual tags
            from a group delete (unless a family 2 group is specified, see
            note 4 below).  Instead, individual tags may be recovered using
            the -tagsFromFile option (ie. "-all= -tagsfromfile @ -artist").
Title: Re: Feature request: display option to skip whole tag groups
Post by: JosephK on May 13, 2014, 11:33:14 PM
Sweet!  Works like a charm.