Covert wav to mp3 in linux command line

View previous topic View next topic Go down

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
avatar
jamied_uk
Admin

Posts : 2280
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top


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