Batch conversion of file formats with ffmpeg Jan 5, 2019 $ for i in *.mp3; do ffmpeg -i "$i" "${i%.*}.wav"; done