Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


I have a Squeezebox, and am running the Server on my (Natty) machine. This server scans my music directory and adds all files found therein to the server's library, to be streamed over the network to the devices.


There's a problem though — not all of my files are recognised due to the server's tag parser being buggy. I've filed a bug upstream about this.


To fix this problem, I'd like to erase and rewrite the ID3 tags on my MP3s. Ideally I don't want any of the tags to change. Do you know of a program or script which can do this? Somehow iterate over all of my files and save their metadata, then erase it from the file leaving just the audio before writing it back. I'm trying to avoid writing a script to do this myself (although I will do if nobody knows a program/can come up with one). Hopefully this clean rewrite will then be accepted by the server. If not, well, at least we tried.

share|improve this question
you could also give EasyTag a try. sudo apt-get install easytag. – theTuxRacer Feb 18 '11 at 6:25
up vote 4 down vote accepted

Picard is an amazing program, highly recommend it. +1 to ssweeny's rec.

However, if you just want to rewrite all existing tags, I think Ex Falso (apt link) and id3convert (apt) will better suit your needs. You might be able to do this all in Ex Falso, but I like knowing the original tags were removed.

Incidentally, Ex Falso has a plugin to tag via MusicBrainz just like Picard.


  1. Use Ex Falso to rename all your files using the fields you want to keep (tip: hit "Preview", then "Save").
  2. Delete all your tags: find . -type f -iname '*.mp3' -exec id3convert -s {} \;
  3. Check to see tags are really gone: id3info example.mp3
  4. Use Ex Falso to retag based on the file names or MusicBrainz.

Ex Falso renaming files

share|improve this answer
Cheers, I'm going to mark this as the answer — it did what I asked for, but unfortunately that didn't fix the problem :( Silly Squeezebox – Iain Lane Feb 21 '11 at 13:57
Maybe it's a problem with tags written at the end vs beginning of the file? I don't know if ExFalso lets you choose, but I know Foobar2k does. You could install fb2k in wine, strip the tags again, and experiment with the order. – djeikyb Feb 21 '11 at 22:15
I just used mp3gain to normalise the mp3s (and thereby rewrite the data), and now they work. Oh well. – Iain Lane Feb 28 '11 at 13:24

For a task like this I recommend MusicBrainz Picard (apt link)

It allows easy manipulation of MP3 tags, and will even query the MusicBrainz database and update/correct your tags.

share|improve this answer

Give a chance to "Ex-Falso", which features both "replacing" and "add to existint" tags. It is easy to use and with a few clics you can do some useful tasks, like: Edit Tags, Tags from Path, Rename Files and Track Numbers.

Information about this software can be reached by clicking the next link:

A screenshot is placed here for your convenience:

enter image description here

share|improve this answer

You can also use id3v2 if you are familiar with the shell.

idv3 is a command to add/modify/remove/view ID3V2 tags, convert/list ID3V2 tags and also supports ID3V1.

To install, type:

sudo apt-get install id3v2

To list the tag already present in a file:

id3v2 -l some_file.mp3

To set the artist on a file:

id3v2 -a "The name of the artist" some_file.mp3

For more information:

man id3v2
share|improve this answer
Welcome to Ask Ubuntu! ;-) Could you please elaborate on the why and how? As is stands, your answer is likely to be deleted automatically by the system for being unclear... :/ – Fabby Mar 6 at 12:22
@Fabby Thanks for your welcome and the suggestion :), I added a little more details to my answer. – Psdd Mar 6 at 17:44
Upvoted! (and have a look at my edits please. It's better not to use the $ as noobs will copy these as well) ;-) – Fabby Mar 6 at 18:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.