
On Thu, Nov 10, 2011 at 12:43:14PM +1100, David Zuccaro wrote:
id3ed -isq "`echo $filename`"
FYI there are numerous id3 tag editors which have built-in filename parsing, using either built-in or user-defined filename templates. a few years back when i was still using mp3, i used to use one called lltag[1]. it could be run in batch mode to automatically set the tags based on the filename, or interactively to prompt you with its best guess for each file and allow you to approve or edit its suggestion. it's actually a front-end to mp3info[2] (and also supports ogg and flac via vorbiscomment and metaflac) [1] http://home.gna.org/lltag/ [2] http://www.ibiblio.org/mp3info/ either of these will almost certainly do a better job than trying to write your own filename parser in bash. and for a GUI tag editor, i always thought that the original amarok 1.x user interface was the best available. Then amarok 2 was released and it sucked. Clementine[3] (a clone of the old amarok 1.x) is almost as good as the old amarok. ex-falso / quod-libet[4] also had excellent tag-editing abilities. EasyTAG[5] looked pretty good. [3] http://www.clementine-player.org/ [4] http://code.google.com/p/quodlibet/ [5] http://easytag.sourceforge.net/ there are many other CLI & GUI tag editors. all of these are packaged for debian, and presumably for debian-derivatives like ubuntu. probably for other distros too. craig -- craig sanders <cas@taz.net.au> BOFH excuse #87: Password is too complex to decrypt