Converting mp3 to wav

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: der.hans
Fecha:  
Asunto: Converting mp3 to wav
Am 28. Jan, 2002 schwätzte Lynn David Newton so:

> for i in *.mp3
> do
> j=`basename $i .mp3`
> mp32wav $i $j.wav
> done


for i in *.mp3
do
        mp32wav $i ${i%mp3}wav
        # use a hash, #, to change something at the front
done


Also, for those who forget about it as I often do, dirname is the match to
basename. Both are good functions and valuable for shell scripting.

ciao,

der.hans
--
# http://home.pages.de/~lufthans/ http://www.DevelopOnline.com/
# You can't handle the source! - der.hans