Skip to content

Instantly share code, notes, and snippets.

@vicokoby
vicokoby / mkvextract-helper.sh
Created Aug 8, 2019 — forked from konfou/mkvextract-helper.sh
extract all tracks/attachments/chapters from an mkv file
View mkvextract-helper.sh
#!/usr/bin/env bash
#
# Extract all tracks/attachments/chapters from an mkv file.
# depends
type -p mkvmerge &>/dev/null || exit 3
type -p mkvextract &>/dev/null || exit 3
# trap SIGINT
trap 'trap - INT; kill -s INT "$$"' INT
You can’t perform that action at this time.