#!/bin/sh
for infile in *.m4a; do
outfile="${infile%.*}.mp3"
ffmpeg -i "$infile" -f sox - | sox --norm=-0.5 -p "$outfile"
done
#!/bin/sh
for infile in *.m4a; do
outfile="${infile%.*}.mp3"
ffmpeg -i "$infile" -f sox - | sox --norm=-0.5 -p "$outfile"
done