delete old archives
This commit is contained in:
@ -17,7 +17,8 @@ ls ~/Games/Minecraft/modpack_dev/user >> modlist.md
|
||||
gawk -i inplace 1 ORS='\n\n' modlist.md
|
||||
|
||||
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"
|
||||
rsync -e ssh /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz minecraft@krumel.moe:~/webroot/mods
|
||||
|
||||
Reference in New Issue
Block a user