Skip to content

Instantly share code, notes, and snippets.

@wernersbacher
wernersbacher / extractMkvSubtitles.sh
Last active December 13, 2022 19:00 — forked from cinatic/extractMkvSubtitles.sh
Extract Subtitles from mkv
#!/bin/bash
# Extract SRT subtitles from each MKV file in the given directory
# call script.sh <path> <language-searchtag>
# If no directory is given, work in local dir
if [ "$1" = "" ]; then
DIR="."
else
DIR="$1"
fi