From 6ad66d587402854d3336268e5910ab713ce38d7b Mon Sep 17 00:00:00 2001 From: mms Date: Tue, 21 Nov 2023 00:01:39 +0100 Subject: feat: funnies padding & kill webp --- beam-funnies.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 beam-funnies.sh (limited to 'beam-funnies.sh') diff --git a/beam-funnies.sh b/beam-funnies.sh new file mode 100755 index 0000000..3f16da6 --- /dev/null +++ b/beam-funnies.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +# first let's remove those pesky webp +cd ~/funnies +magick mogrify -format JPEG *.webp +rm *webp + +# and beam them up scotty +rsync -rtvzP ~/funnies/ mms@michal.sapka.me:/var/www/htdocs/funnies/2023/$(date +%F) + +# clean up +rm * -- cgit v1.2.3