Check out my scripts repository on github. I have written a bunch of random scripts that needed a home, so I put them up on github. These scripts are put on all of my servers in my ~/bin folder, controlled through puppet. In the repo you’ll find a flac-to-v0 script that acts just like cp, in that you give it 1 or more source files, and a single destination, and it will convert the given input files (as flac) to mp3. I also have a php rss parser, a shoutcast/di.fm parser/player, and other random stuff, check it out!

https://github.com/bahamas10/scripts