Files
rough-edit/convert.sh
Paweł Kołaczyński 635f69db9c Update convert.sh
fixed path in convert.sh
2020-07-01 09:41:59 +02:00

11 lines
173 B
Bash

#!/bin/bash
# it converts the subs from .vtt to .srt
for filename in ../subs/*; do
file="${filename%.*}";
in="${file}.vtt"
out="${file}.srt"
ffmpeg -i $in $out
done