How to batch downsample MP3 files using lame? How to batch downsample MP3 files using lame? shell shell

How to batch downsample MP3 files using lame?


Use a shell for loop to process the files in turn:

for i in *.mp3; do     lame --mp3input -b 48 "$i" "${i%%.mp3}_48.mp3"done