Categories
- Chronicles (59)
- Community and Society (91)
- Ecology & Environment (12)
- Essays (32)
- Events (25)
- Gourmet (30)
- Info & Biz Technology (290)
- Linux & Open Source (103)
- Linux Journal Index (14)
- Mobility (20)
- Multimedia (17)
- OpenDocument Format (64)
- Web 2.0 (68)
- Linux & Open Source (103)
- Metaphysics (32)
- Misc (8)
- Music & Podcasts (39)
- Podcast: brazilian jazz (8)
- Podcast: general (13)
- Travels (67)
- Central Asia 2007 (29)
- Vegetarianism (10)
Short updates
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 Source • Multimedia
Tags: lang:en tech:yes
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.