Hardware : Lenovo Thinkpad P14s, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
Software : Ubuntu 21.10, Gnome 40.4.0, Linux 5.13.0
| #!/bin/sh | |
| # Extract subtitles from each MKV/MP4 file in the given directory | |
| # [updated 2024-01-09 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> |