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

Jan Depner eviltwin69 at cableone.net
Sat Jan 8 16:22:39 EST 2005


On Sat, 2005-01-08 at 14:40, Wilbert Berendsen wrote:
> 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
> 

	Good point.   I forgot about those stinking spaces!

Jan

> this way spaces in filenames do not cause trouble.
> 
> Wilbert




More information about the Linux-audio-user mailing list