On Thu, Jul 13, 2017 at 15:11:56 -0600, JD wrote:
> Your filename does not contain parentheses, brackets and single quotes
> and unprintable characters that
> MANY files I download contain in their names.
> And THAT is the crux of the problem.
That's no crux.
$ for file in *.mkv; do ffmpeg -i "$file" -map 0:a -c:a libmp3lame
/targetdir/"${f%.mkv}".mp3; done
Fixed that for you. Never forget to quote your variables.
Moritz
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".