Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

21
.bin/OLD/videosort Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
mkdir -p 720p 1080p 2160p SD FIX
find . -type f | while read file;
do
unset w
w="$(mediainfo --Output="Video;%Width%" "$file")"
[ -z $w ] && continue
printf '%s | %s\n' "$w" "$file";
if [ $w -ge 16000 ]; then
mv "$file" FIX/
elif [ $w -ge 3200 ]; then
mv "$file" 2160p/
elif [ $w -ge 1700 ]; then
mv "$file" 1080p/
elif [ $w -ge 1200 ]; then
mv "$file" 720p/
else
mv "$file" SD/
fi
done
find . -empty -delete