Quick conversion from mp3 to wav

guido dom guido.dom at gmail.com
Sun Nov 25 13:40:18 UTC 2007

This is what I use from within the directory with mp3 files
# replace all spaces with _
for i in *.mp3; do mv "$i" `echo $i | tr ' ' '_'`; done
# replace all capitals with normal (ie A becomes a)
for i in *.[Mm][Pp]3; do mv "$i" `echo $i | tr '[A-Z]' '[a-z]'`; done
# make wav from all mp3
for i in *.mp3; do mpg123 --rate 44100 --stereo --buffer 3072 --resync -w
`basename $i .mp3`.wav $i; done
remove mp3
rm *.mp3

2007/11/25, Luca <lucafbb at gmail.com>:
> Hi All.
> I need a program available on kubuntu repository to convert some mp3
> tracks to wav files...
> I'm sorry but I cant find any usefull by the apt-cache search command...
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users

Tel:+32 (0)58 239804  +32 (0)497 538736

Nog een mooie dag toegewenst.

Guido (dompie) Dom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20071125/b659a412/attachment.html>

More information about the kubuntu-users mailing list