website-filesystem/update.sh
2024-11-30 15:23:10 +01:00

19 lines
490 B
Bash
Executable file

#!/usr/bin/env bash
echo ":: Removing files"
rm -rf "imgs/emotes/neofox" "imgs/emotes/neocat"
echo ":: Creating directories"
mkdir -p "imgs/emotes/neofox" "imgs/emotes/neocat"
(
cd "imgs/emotes/neofox"
wget "https://volpeon.ink/emojis/neofox/neofox.zip" -O "neofox.zip"
unzip neofox.zip
rename --verbose --all '_256' '' *.png
)
(
cd "imgs/emotes/neocat"
wget "https://volpeon.ink/emojis/neocat/neocat.zip" -O "neocat.zip"
unzip neocat.zip
rename --verbose --all '_256' '' *.png
)