I need to batch remove all subtitles from MKV files in a directory, using MKVToolNix, for one file I figured:

mkvmerge -o output.mkv --no-subtitles input.mkv

How do I achieve this for 100+ files?


If they're all in the same directory, you can do:

for file in *mkv; do
    mkvmerge -o "${file%.mkv}".nosubs.mkv --no-subtitles "$file"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.