mp3 -> ogg

Being a free software enthusiast, it was shame for myself keeping music files in a proprietary format like mp3. During some chat conversation with Shyam I recalled the thought. I never went for a second thought. Wrote a bash script and converted all my music files to ogg vorbis format :). Now I’m free.

Free as in Freedom

Ogg Vorbis is a free and open source replacement for mp3 music format. More than the freedom thought, I have found some more benefit. After conversion from mp3 to ogg, I freed some more disk space. ( 1.5 Gigs to 1.2 Gigs ) :)

find base_dir_path -type f -name "*.mp3" > list ;
while read each_file;
     dir2ogg "$each_file";
     rm "$each_file" ;
 done < list ;