website-filesystem/update.sh

20 lines
490 B
Bash
Raw Normal View History

2024-11-30 15:13:45 +01:00
#!/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
2024-11-30 15:23:10 +01:00
rename --verbose --all '_256' '' *.png
2024-11-30 15:13:45 +01:00
)
(
cd "imgs/emotes/neocat"
wget "https://volpeon.ink/emojis/neocat/neocat.zip" -O "neocat.zip"
unzip neocat.zip
2024-11-30 15:23:10 +01:00
rename --verbose --all '_256' '' *.png
2024-11-30 15:13:45 +01:00
)