clipped from: www.minigeek.org   

Linux m4a to mp3 conversion script

tux thumbnailI have a bunch of m4a files that I would like my mp3 player to be able to play (http://www.rockbox.org - check it out if you haven't already), the files are in a nice directory structure and the names of the files are fine. I started writing a script about 4 months ago, but I put it aside when I realised how much other work I had to do. The other day I found a script that Steel_J on http://www.linuxquestions.org/questions/newreply.php?do=newreply&noquote=1&p=2637196
wrote which did the uses faad and lame to bulk convert a bunch of m4a files into mp3 files and nicely brings across the ID3 tags from the m4a file into the mp3 file. However, I found that the program had a few small bugs and wouldn't recursively walk my directory structure to encode all of my files without me needing to do anything so I modified and I've reposted it here. This script worked fine on my music but individual mileage may vary.