Using MP3 Diags to clean up my mp3 collection, I've discovered that in addition to the ID3v2 tag, some files also have a Lyrics3, ID3v1, and some an APE tag. Are there command line tools out there to remove all but the ID3v2 tag?
Have a look at eyeD3 a command line utility and python library for manipulating id3 tags. To emove lyrics and ID3v1 tag from all mp3 files in the current directory just run
eyeD3 --remove-lyrics --remove-v1 *.mp3
If eyeD3 reports a problem while writing the tags try to rerun the command again as it seems to fix the problem.
I am not totally sure what an APE tag is but you can also remove arbitrary user tags from an mp3 file with eyeD3.
id3v2 before and found it to be quite good.
There are some others according to aptitude:
id3tool. Assuming you have a Debian-based system:
aptitude search id3. I'm sure other package managers should have a search facility.
I'm not sure these will be able to do everything you want (by which I mean I don't know anything about Lyrics3 and APE), but you can take a look. Certainly
-D flags to remove id3v1 tags, id3v2 tags, and both, respectively (according to its man page).
To remove the APE tag, use versions of the apetag tool that support the
apetag -m erase -i file.mp3
Beware the old
apetag (1.12) seems unable to parse an MP3 file with an ID3 v1 tag.