[linux-audio-user] converting large number of ogg's to mp3's

rob mailingLists at pangolin.org.uk
Sat Jan 8 12:50:30 EST 2005


On Sat, 2005-01-08 at 10:04 -0600, Jan Depner wrote:
> "find" is your friend ;)
> 
> Try something like:
> 
> find . -name \*.ogg -print -exec sox ..... {} \;
> 
> I don't really know sox.  If you send me the command you're using to
> convert one file I'll put the find command together for you (or a shell
> script).

thanks for your help

to convert the files I'm just doing:

sox /shared/music/albums/albumName/song.ogg ~/mp3/albumName/song.mp3

using find I'm not sure how I change the extension from ogg to mp3.

> Jan
> 
> On Sat, 2005-01-08 at 09:23, rob wrote:
> > Hi.
> > 
> > I need to convert a large no of ogg's to mp3.
> > I know that I can convert them one at a time with sox but this is going
> > to be fairly tedious for >1000 files.
> > 
> > Does anyone know of graphical way of doing this or failing that how I
> > get sox to convert an entire directory tree of files. (nb I don't need
> > the id3 stuff)
> > 
> > Thanks for your help.
> >  
> 
-- 

rob




More information about the Linux-audio-user mailing list