Files
eagle0/scripts/cleanup.sh
T
adminandGitHub a21a10d838 Don't send heroes away from the province you're trying to expand into (#2510)
* scripts cleanup logs too

* missed the semicolon

* fix more tests


Former-commit-id: fdde1b0699310b172caf80741ed1a0f39d563185
2023-03-07 19:58:14 -08:00

18 lines
451 B
Bash
Executable File

#!/bin/bash
echo "Remove local files?"
select yn in "Yes" "No"; do
case $yn in
Yes ) rm -rf ~/eagle0/eagle/save/*; rm -rf ~/eagle0/shardok/save/*; rm -rf ~/eagle0/eagle/log/*; break;;
No ) exit;;
esac
done
echo "Remove from s3?"
select yn in "Yes" "No"; do
case $yn in
Yes ) aws s3 rm --recursive s3://eagle0/eagle/save/; aws s3 rm --recursive s3://eagle0/shardok/save/; break;;
No ) exit;;
esac
done