Looking for a CLI tool for MP3 tagging

Alexandra Zaharia f0rg3r at gmail.com
Thu Feb 21 06:27:24 UTC 2008


On 2/20/08, Joachim Schrod <jschrod at acm.org> wrote:
> Hi,
>
>  Can somebody recommend a command-line tool to change _one_ ID tag
>  in an MP3 file? (I want to change the Genre tag, all other tags
>  shall stay with the old values.)
>
>  apropos tag | egrep -i 'id|mp3'
>  returns nothing.
>
>  Thanks in advance for an anwer,
>
>         Joachim

Hello Joachim,

You might try 'id3tool'.

id3tool -l

displays a list of supported genres and their associated code (in
hex). You can then use:

id3tool -g INT *.mp3

where INT is the hex code transformed in the decimal system (such as
INT=32=0x20), but I agree this is a real pain, so you'd better try

id3tool -G WORD *.mp3

where WORD is one of the "words", the actual supported tags displayed
by `id3tool -l'. Therefore something like

id3tool -G "Classical" *.mp3

would work.

HTH,

Alex.




More information about the ubuntu-users mailing list