Posts

Showing posts from December, 2016

How to convert all wav files into mp3 extensions in centos/linux at one go? is there any command?

shell script #!/bin/bash SAVEIF=$IFS IFS=$(echo -en "\n\b") for file in $(/usr/bin/find /usr/src/wav-folder/ -type f -name "*.wav") do   name=${file%%.wav}   lame -V0 -h -b 160 --vbr-new $name.wav $name.mp3 done IFS=$SAVEIFS