Skip to content

Instantly share code, notes, and snippets.

View Seegras's full-sized avatar

Seegras

View GitHub Profile
@Seegras
Seegras / subextract.sh
Last active January 10, 2019 10:55 — forked from AndreiDuma/subextract.sh
A little script to help with extracting subtitles from .mkv files.
#!/bin/sh
if ! command -v mkvmerge mkvextract >/dev/null 2>&1; then
echo >&2 "Tools mkvmerge & mkvextract are required. Install package mkvtoolnix."
exit 1
fi
filename=$1
if [ ! -f "$filename" ]; then