I thought I'd be able to use exiftool to return just the ID3 tag versions for an MP3 file. I realize version is not an actual ID3 frame but in long formats it's already printed out. Is there a way to get it printed out in a concise one-line format just like querying for a single tag name.
I also thought I'd be able to get it to return actual tag IDs instead of and/or in addition to tag names.
Basically I'm looking through my MP3 collection to see which have 3-letter PIC frames vs which have 4-letter APIC frames (vs having neither).
Am I just overlooking these abilities in the docs or is neither a supported feature?
Quote from: hippietrail on April 29, 2023, 03:24:32 AMI thought I'd be able to use exiftool to return just the ID3 tag versions for an MP3 file. I realize version is not an actual ID3 frame but in long formats it's already printed out. Is there a way to get it printed out in a concise one-line format just like querying for a single tag name.
Exiftool can't just list the group names. You'll have to parse the output without another program/script, such as
sed.
QuoteI also thought I'd be able to get it to return actual tag IDs instead of and/or in addition to tag names.
The
-G (
-groupNames) option (https://exiftool.org/exiftool_pod.html#G-NUM-:NUM...--groupNames) with a value of 7, e.g.
-G7 will be the best you can do.
Thanks!
-G7 gives me a lot of what I was looking for.