Avi Alkalay Digital Awareness and Flying Spirit
Organize fast and precisely your MP3 files with ID3v2 tags 0 comments By AviPublished: Sun, 07 Jun 2009 21:32:37 +0000 Published: 7 Jun 2009 Published: 9:32 pm Categories: Linux & Open SourceMultimedia Tags:

This is a set of personal notes and a tutorial for everyone about how to correctly organize and tag MP3 files using the id3 command line tool.

General way to tag MP3 files:

id3 -M -2 [-v] [-t title] [-a artist] [-l album] [-n tracknr] [-y year] [-g genre] [-c comment] file.mp3

Recursively tag with ID3v2 a tree with many directories containing MP3 files, setting artist and genre:

id3 -v -2 -R -a "João Gilberto" -g "Bossa Nova" *mp3

Rewrite the Title tag of each file capitalizing the first letter of each word:

id3 -v -2 -t %+t *mp3

Rename files based on track number and song name (as “02 – Song Name.mp3″) padding a zero to track numbers smaller than 10:

id3 -v -2 -f "%#n - %t.mp3" *mp3

The id3 program is available for multiplatforms, including Linux and Windows. You can find RPM packages for Fedora Linux on my site.

Avi Alkalay is powered by WordPress 2.9.1 and delivered to you in 0.307 seconds using 33 queries.

Theme: Plasma, your last WordPress theme by Avi Alkalay.

Icons by the Blog Icons Project.