Skip to content

Instantly share code, notes, and snippets.

@DefKorns
DefKorns / handle_mkv_files.sh
Last active February 24, 2024 01:25
Script to remove unwanted audio/subtitles tracks from MKV
#!/bin/bash
##
# @Description: Script to remove unwanted audio/subtitles tracks from MKV
##
AUDIO_LANGUAGE="und,eng"
SUBTITLE_LANGUAGE="pt,por,pt-PT"
SUBTITLE_ID="false"
LANGUAGE_ID="false"
DELETE_SOURCE="false"