vault backup: 2024-01-25 14:02:02

This commit is contained in:
2024-01-25 14:02:03 +00:00
parent c09a4d605d
commit 14b75ba16c
32 changed files with 19979 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
for video in media/*.mp4 media/*.mov; do
if [ ! -e $video ]; then
echo No videos to convert
exit 1
fi
echo Processing $video
dir=$(dirname "$video")
file=$(basename "$video" .mp4)
file=$(basename "$file" .mov)
avconv -i $video -s 80x50 $dir/$file.mpg
mv $video $video.backup
done