mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 05:08:36 -06:00
new: Support mkv files
This commit is contained in:
parent
e9e3134c7e
commit
ef7c3d8ced
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
# It makes the subs discoverable by virtually any video player.
|
# It makes the subs discoverable by virtually any video player.
|
||||||
# Optionally takes a language arguments e.g. en to rename to .en.srt
|
# 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
|
if [ -f "$f" ]; then
|
||||||
h=$(basename "$f" .mp4)
|
h=$(basename "$f" .mp4)
|
||||||
echo "Renaming the subtitle (if any) accompanying $h.mp4..."
|
echo "Renaming the subtitle (if any) accompanying $h.mp4..."
|
||||||
|
|
Loading…
Reference in a new issue