So I am using ffmpeg to convert flac files from a certain folder to mp3 at 320k bitrate.
I am using this answer as a reference.
https://stackoverflow.com/a/41096234/9259505
So the command I use in Windows command shell is
ffmpeg -i infile.flac -c:v copy -b:a 320k outfile.mp3
but that is only for one song. How can I modify that command to cycle through all the .flac files in the working directory folder?
I've tried these 2 myself but they don't work.
for file in 'C:\Users\...' *.flac; do ffmpeg -i "$file" -c:v copy -q:a 0 "${file%.flac}".mp3; done
ffmpeg -i "*.flac" -c:v copy -q:a 0 outfile.mp3
Note: I am using the -c:v copy because the album artwork ends up being transcoded resulting in a much bigger file which I am trying to avoid in the first place. So the command has to copy the streams.
Operating System: Windows 10