This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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> |