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,11 @@
#!/bin/sh
date=$(date "+%a %d-%m-%Y %H:%M")
for image in media/*.jpg; do
filename=$(basename $image)
if [ -e thumbs/$filename ]; then
echo $filename has already been converted
else
echo Converting $filename
convert $image -resize "640x480>" -rotate 90 -background magenta -pointsize 15 -gravity Center label:"$date" -append -rotate -90 thumbs/$filename
fi
done