Skip to content

Instantly share code, notes, and snippets.

@moralmunky
moralmunky / extractSubtitles.sh
Created December 30, 2023 01:09 — forked from FurloSK/extractSubtitles.sh
Extract subtitles from MKV/MP4 videos
#!/bin/sh
# Extract subtitles from each MKV/MP4 file in the given directory
# [updated 2023-08-03 by FurloSK]
# Permanent gist address: https://gist.github.com/FurloSK/7f52303a10ab7478e3cddfe4bcc50881
#
# ===== Usage =====
# extractSubtitles.sh [-i] [<fileOrDirectory>]
# -i
# Supplying this option will skip extraction and only print information about subtitles in file
# <fileOrDirectory>