id3v2

Command-line tool to edit ID3 tags in MP3 files.

brewmacoslinux
Try with needOr install directly
Source

About

Command-line editor

Commands

id3v2

Examples

add artist and title to an mp3 file$ id3v2 -a 'Artist Name' -t 'Song Title' song.mp3
view all tags in an mp3 file$ id3v2 -l song.mp3
remove all id3 tags from an mp3 file$ id3v2 -D song.mp3
set album and year metadata on mp3 files$ id3v2 -a 'Artist' -A 'Album Name' -y 2023 song.mp3
add a genre tag to multiple mp3 files$ id3v2 -g 'Rock' *.mp3