delete old archives

This commit is contained in:
krumel
2022-06-13 19:17:00 +02:00
parent 659287a2b2
commit d536634ccf

View File

@ -17,7 +17,8 @@ ls ~/Games/Minecraft/modpack_dev/user >> modlist.md
gawk -i inplace 1 ORS='\n\n' modlist.md gawk -i inplace 1 ORS='\n\n' modlist.md
echo "Zip the mods" echo "Zip the mods"
tar -czvf /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz mods rm /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz
tar -czvf /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz mods config
echo "Move mods to the webroot" echo "Move mods to the webroot"
rsync -e ssh /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz minecraft@krumel.moe:~/webroot/mods rsync -e ssh /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz minecraft@krumel.moe:~/webroot/mods