Release: 0.12→ features → download → installation → usage → examples → history → todo → contact
ZIP file with REXX script and this guide: <Download>
Currently this script is dedicated to OS/2. There are some features around the code page translations which relate to OS/2 specific REXX extension and a custom OS/2 DLL module.
mp3tag [filemask] [options]
If filemask is omitted *.mp? *.ogg is used.
/s Include subdirectories /ntemplate Naming convention 
This is the filename (including path) for all MPEG files. It may contain the following meta characters:
%a Artist name %t Song title %A Album name %T Track number (two digits) %y Year %c Comment %. Current directory including trailing \ %\ Directory of the file including \ %$ Filename without extension %~ File extension including . %% % itself /n0 Shortcut for /n%.%a\%t%~
Sort files by artist\title.mp3. (default)
/n1 Shortcut for /n%.%a\%A\%T - %t%~
Sort files by artist\album\track - title.mp3.
/n2 Shortcut for /n%.%A\%T - %a - %t%~
Sort files by album\track - artist - title.mp3.
/aT Try to determine Track number automatically (if missing)
If the track number is missing in the tag information (e.g. ID3 tag V1.0), mp3tag tries to determine it automatically from the filename. In fact it searches for a two digit number at the end and the beginning of the name.
/oaartist Overwrite artist /oAalbum Overwrite album /oyyear Overwrite year /occomment Overwrite comment /osstyle Overwrite style
Only by number!
/u Update ID3 tag from filename
Priority: parsed filename, old tag (if any), overwrites (/o...)
/U Update ID3 tag from filename
Priority: old tag (if any), parsed filename, overwrites (/o...)
/!_  or
Do not convert underscores in filenames to spaces
This is done by default. However, mp3tag will never create underscores instead of spaces.
/ac Automatic case conversion
Convert first character of all words to uppercase. This applies only to artist, album and title and not to overwrites (/o...).
/!cp  or
Disable codepage translation
By default, all MP3 tags are converted from the ISO-8559-1 (Windows) character set to the OS/2 code page on read and vice versa on write.
/eatype set file type extended attribute (.TYPE) to type /L Always set .LONGNAME extended attribute to match the file name without extension. /pm Use the PMShell for file renaming & moving
There are two distinctions to the default method (MOVE command):
- First, the mapping for special characters which are not allowed in filenames is different. However, in both cases the .LONGNAME EA will contain the exact name. Furthermore, the .LONGNAME EA is normally only created on demand.
- Secondly, the MOVE command will fail, if the destination is on a different volume whereas SysMoveObject will not.
/t Truncate trailing zeros
Sometimes I got files with some trailing zeros after the ID3 tag. This switch will try to remove them automatically and above all enable the ID3 tag to be recognized at all.
- The ID3v1.x tag have a restriction of 30 characters per field. When renaming files mp3tag tries to keep longer items by searching the old file and path name for the remaining characters.
- The escape character * may be used alternatively instead of % because the latter is usually the shell escape for environment variables. In fact there is no way to pass a % as parameter by a WPS program object.
- If you use the FileCommander shell, remember that ! is an escape character there. You need to type !! instead. Alternatively you may use a backslash.
- The documentation of the ID3v1.x tag structure does not mention the code page problem. But however, ID3v2 tags are using ISO-8559-1, which is similar to the one used by Windows and Linux systems. Usually the ID3v1 tags are also ISO-8559-1 format. Use \!cp if you have (or want to have) ID3 tags with the OS/2 code page.
Version 0.12 (25.08.2002)
Suggestions, help, complaints (but not too much:-):
Original homepage: http://www.maazl.de/project/mp3/mp3tag.html