tagmp3(1)
π tagmp3(1) β the user manual, but make it slay π
okay bestie, sit down, hydrate, because we're about to talk about tagmp3, and it's genuinely iconic. this is the User manual page for it, and by the end you're gonna be tagging mp3s like it's your whole personality. periodt.
β¨ NAME β¨
tagmp3 β manipulate ID3v1 tags π
πΈ SYNOPSIS πΈ
tagmp3 [ -n ] mode [ format ] [ file ] ...
π¦ DESCRIPTION π¦
tagmp3 is your little helper that lets you set and remove ID3v1 tags from mp3 files. and then β plot twist β there's also the move mode, which relocates your mp3 files around based on their ID3v1 tag. main character behavior fr fr.
so what even is an ID3v1 tag? it's a lil chunk of extra info bolted onto the file β stuff like artist name, album, and genre. most mp3 players will happily display these for you. no cap. π
π MODE π
showβ show a file's ID3v1 tag. just vibes, just reading. πsetβ sets a file's ID3v1 tag according to format.moveβ move a file to a destination based on FORMAT.delβ remove a file's ID3v1 tag, if it even has one. bye bestie πlistβ displays numeric music genres alongside their meaning.-hβ print a (not so) short help message.-vβ print version and exit.
π OPTIONS π
-nβ show what will be done, don't alter any file. it's giving window shopping, it's giving look but don't touch π«Ά
β FORMAT STRING β
the format string is a character string composed of zero or more directives: ordinary characters (anything that's not %), which are not interpreted at all, and conversion specifications β and each of those results in the corresponding ID3v1 tag field substitution. every conversion specification gets introduced by the % character. the special sequence %% gets substituted with a single %.
here's every conversion specification and the ID3v1 field it's paired with:
%Aβ Artist Name%aβ Album Name%tβ Song Title%Tβ Track Number%yβ Year%gβ Genre%cβ Comments
π format string for set mode π
for set mode, the format string is a list of ID3v1 fields, and each one is followed by either a ':' (the next chars are the field value) or a '?' (ask the user for the field value).
example: tagmp3 set "%A:Pink Floyd %a:The Wall %t? %T?" *.mp3
so for each mp3 in this directory, it sets the artist name to Pink Floyd and the album to The Wall. for each file it asks you for the title and the track number. other fields stay untouched, untouched queen. π§
heads up bestie: the genre field requires a numeric value. you can see all the known genres with the list mode.
π format string for move mode π
the format string is the destination path, where each field identifier gets substituted with the tag value.
example: tagmp3 move "/home/foo/mp3/%A/%a/%T-%t.mp3" *.mp3
with the set example above, this will move all mp3 to "/home/foo/mp3/Pink Floyd/The Wall/{track}-{title}.mp3".
and if you prefer the "flat" naming scheme, you'd use something like:
tagmp3 move "%A-%t.mp3" *.mp3
π NOTES π
- move mode never overwrite files. not ever. not even a little.
- move mode creates intermediate directories specified in the format string. each directory creation has to be confirmed by the user.
- ID3v2 tags are not supported so far. someday maybe. not today.
- if a file can't be moved (wrong file type, ID3v1 tag absent or blank field,
...) then it is left untouched. we respect it and we leave it be. - fake mp3 (i.e. a Wave file with a
.mp3extension) get moved into the"fake-mp3/"directory in move mode. as they should. π set mode refuses to tag them, since doing so would add a noisy artifact at the end of the song.
π BUGS π
plenty of :) iconic honestly
for move mode, source and destination must reside on the same file system / partition. that's just how it is bestie.
π«Ά AUTHOR π«Ά
Laurent Alacoque <laureck@users.sourceforge.net> CopyLeft 2001
bugs, patch, infos, new releases, girls, money go to: http://mpgtx.sourceforge.net/
okay that's the whole thing!! shoutout to the Linux manual, APRIL 2001 edition β yeah she's vintage, she's a classic, she ate and left no crumbs πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- arch rolling: mpgtx 1.3.1-8 Β· GPL
- debian bookworm: mpgtx 1.3.1-6+b1
- ubuntu jammy: mpgtx 1.3.1-6build2
- ubuntu noble: mpgtx 1.3.1-6build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms