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

kurtz kurtz611 at yahoo.es
Sat Jan 8 19:54:24 EST 2005


mdeboer at iua.upf.es escribe:
> To change the extension, you could use sed.
> 
> find . -name "*.ogg" | while read filename; do \
>   sox "$filename" "`echo $filename | sed -e 's/\.ogg$/.mp3'`" \
> done

There Is More Than One Way To Do It(TM):

for filename in `find . -name "*.ogg"`; do \
    sox "$filename" "`basename $filename .ogg`.mp3" \
done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20050109/fdf0767d/attachment.pgp 


More information about the Linux-audio-user mailing list