diff options
author | mms <michal@sapka.me> | 2023-11-21 00:01:39 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-11-21 00:01:39 +0100 |
commit | 6ad66d587402854d3336268e5910ab713ce38d7b (patch) | |
tree | 51dc193d11b8cf3eb043031ec6bcfd5250bab444 /beam-funnies.sh | |
parent | fc32a8185f811a3f2c79fe575513d7197dbf0af3 (diff) |
feat: funnies padding & kill webp
Diffstat (limited to 'beam-funnies.sh')
-rwxr-xr-x | beam-funnies.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 * |