PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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 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 : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

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