some stuff

This commit is contained in:
2020-12-08 22:31:22 +01:00
parent 6337ee7229
commit 9a440a38d7
3 changed files with 19 additions and 2 deletions

13
delete_vidoes_without_sub.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
cd ../original
for f in *; do
if [ ! -f "../subs/${f%.*}.de.vtt" ]; then
rm "$f"
fi
done
cd ../subs/
for f in *; do
if [ ! -f "../original/${f%.*}.mp4" ]; then
rm "$f"
fi
done