for i in *.mp3 do newname=`echo $i | awk -F . '{print $1}'` ffmpeg -i $i $newname done