Covert wav to mp3 in linux command line

Go down

Covert wav to mp3 in linux command line Empty Covert wav to mp3 in linux command line

Post by jamied_uk on 2nd September 2013, 23:42

Code:
for i in *.wav ; do

echo $i


b=`basename "$i" .wav`


echo $b


lame --preset insane "$i" "$b.mp3"


done


this command will convert all .wav to .mp3
jamied_uk
jamied_uk
Admin

Posts : 2472
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum