I had a large number of directories of music files in flac format. Flac is a great format due to the lossless compression, but I wanted to take these files on the road with me, and I had limited storage space. The solution, covert them to ogg format.
A google search brought up a great perl script to do the conversion. I am using Kubuntu Karmic Koala, so on first run it complained “Encoding application not available: /usr/bin/oggenc”, but these is easily solved by “sudo apt-get install vorbis-tools“.
After that, converting a directory of flac files was as simple as:
./acxi -q 8 -s /home/temp/input-dir - d /home/temp/doutput-dir
Obviously change your input and output directories to you need.