1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 20:58:37 -06:00

new: Support mkv files

This commit is contained in:
Sayantan Santra 2023-05-22 20:45:18 -05:00
parent e9e3134c7e
commit ef7c3d8ced
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -5,7 +5,7 @@
# It makes the subs discoverable by virtually any video player.
# Optionally takes a language arguments e.g. en to rename to .en.srt
for f in *.mp4; do
for f in *.mp4 *.mkv; do
if [ -f "$f" ]; then
h=$(basename "$f" .mp4)
echo "Renaming the subtitle (if any) accompanying $h.mp4..."