MP3TAG(1) General Commands Manual MP3TAG(1)NAME
mp3tag - view and manipulate ID3v1 tags.
SYNOPSIS
mp3tag [ -s song ] [ -a artist ] [ -l album ] [ -y year ] [ -e comment ] [ -k track ] [ -g genre ] [ -r ] file [ file ... ]
DESCRIPTION
This manual page briefly documents the mp3tag command. This manual page was written for the Debian GNU/Linux distribution because the orig-
inal program does not have one.
mp3tag is a program that allows you to both view and manipulate ID3v1 metadata tags. Running the command with just a filename will display
the file's current tag. Setting some options will cause the tag to be updated and displayed.
OPTIONS -a artist
Set the artist name to artist. Strings over thirty characters are truncated.
-e comment
Set the comment to comment. Strings over thirty characters are truncated.
-g genre
Set the genre to genre. This is a single integer with a value of 0 to 254 corresponding to the appropriate Winamp compatible genre
(use '-g list' to list all supported genres).
-k track
Set the track number to track. This is a single integer with a value of 0 to 255. Specifying this field truncates the comment field
to twenty-eight characters, as per the ID3v1.1 standard.
-l album
Set the album name to album. Strings over thirty characters are truncated.
-r Merge new tag with any preexisting tag in the file.
-s song
Set the song name to song. Strings over thirty characters are truncated.
-y year
Set the year to year. Strings over four characters are truncated.
EXAMPLES
Display foo.mp3's current ID3v1 info:
mp3tag foo.mp3
Set foo.mp3's artist to 'Bar', and album to 'Baz':
mp3tag -a Bar -l Baz foo.mp3
Set foo.mp3's year to 2001, merging it with any tag already present:
mp3tag -y 2001 -r foo.mp3
AUTHOR
mp3tag was written by Bram Avontuur <bram@avontuur.org>.
This manual page was written by Brian Boucheron <brian@boucheron.org>, for the Debian GNU/Linux distribution (but may be used by others).
SEE ALSO
More info on ID3v1 can be found at <http://www.id3.org/id3v1.html>.
February 19, 2004 MP3TAG(1)
Check Out this Related Man Page
tagmp3(1) User manual tagmp3(1)NAME
tagmp3 - manipulate ID3v1 tags
SYNOPSIS
tagmp3 [ -n ] mode [ format ] [ file ] ...
DESCRIPTION
tagmp3 allows you to set and remove ID3v1 tags from mp3 files. Additionaly move mode can be used to move mp3 files according to their ID3v1
tag. An ID3v1 tag is a chunk of extra informations such as artist name, album and genre. ID3v1 tags are displayed by most mp3 players.
MODE
show show file's ID3v1 tag.
set sets file's ID3v1 tag according to format.
move move file to a destination based on FORMAT.
del remove file's ID3v1 tag if any.
list displays numeric music genres along with 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.
FORMAT STRING
The format string is a character string composed of zero or more directives: ordinary characters (not %), which are not interpreted and
conversion specifications, each of which results in the corresponding ID3v1 tag field substitution. Each conversion specification is
introduced by the character %. The following lines describes each conversion specification along with its associated ID3v1 field. Special
sequence %% is substituted with a single %.
%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 followed by a ':' (next chars are the field value) or a '?' (ask user for field
value)
example: tagmp3 set "%A:Pink Floyd %a:The Wall %t? %T?" *.mp3
For each mp3 of this directory, sets the artist name to Pink Floyd and the album to The Wall. For each file ask for the title and
the track number. Leave the other fields untouched. Be aware that genre field require a numeric value. Known genres can be dis-
played with the list mode.
format string for move mode
The format string is the destination path where each field identifier is substituted with the tag value.
example: tagmp3 move "/home/foo/mp3/%A/%a/%T-%t.mp3" *.mp3
with the set example above will move all mp3 to "/home/foo/mp3/Pink Floyd/The Wall/{track}-{title}.mp3"
If you prefer the "flat" naming scheme, you will use something like
tagmp3 move "%A-%t.mp3" *.mp3
NOTES
move mode never overwrite files.
move mode creates intermediate directories specified in the format string. Each directory creation is to be confirmed by the user.
ID3v2 tags are not supported so far.
If a file can't be moved ( wrong file type, ID3v1 tag absent or blank field , ...) then it is left untouched.
Fake mp3 (i.e. Wave file with .mp3 extension) are moved into "fake-mp3/" directory in move mode. set mode refuses to tag them since this
would add noisy artifact at the end of the song.
BUGS
Plenty of :)
For move mode, source and destination must reside on the same file system / partition.
AUTHOR
Laurent Alacoque <laureck@users.sourceforge.net> CopyLeft 2001
Bugs, patch, infos, new releases, girls, money go to :
http://mpgtx.sourceforge.net/
Linux APRIL 2001 tagmp3(1)