FFmpeg - Folder Convert I am use FFmpeg v4.1 .

How can I convert all '.mp3' files in the "ab1" folder to the "cd2" folder with the same file names as '.mp3'?

The process I'm going to do is:

-acodec libmp3lame -b:a 192k -ar 48000 -map_metadata -1
You can use a bash for loop.

cd ab1
mkdir cd2
for f in *.mp3; do ffmpeg -i "$f" -c:a libmp3lame -b:a 192k -ar 48000 -map_metadata -1 "cd2/${f%.*}.mp3"; done


This assumes your OS supports bash shell scripting.