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

From: Wilbert Berendsen <wbsoft@email-addr-hidden>
Date: Sat Jan 08 2005 - 22:40:53 EET

On Saturday 08 January 2005 18:50, rob wrote:
> using find I'm not sure how I change the extension from ogg to mp3.

most times i use something like this (using Bash):

find . -name '*.ogg' | while read f
do
 sox "$f" "${f/.ogg/.mp3}"
done

this way spaces in filenames do not cause trouble.

Wilbert

-- 
Wilbert Berendsen (www.xs4all.nl/~wbsoft, www.kde.nl, www.kerklied.net)
* Take back the web: www.mozilla-europe.org/nl/
* Free as in speech and beer: http://opencd.dischosting.nl/
Received on Sun Jan 9 00:15:19 2005

This archive was generated by hypermail 2.1.8 : Sun Jan 09 2005 - 00:15:19 EET