GAME="pvk-e-Oceania" DIR="/home/dom3/dominions3/savedgames/pvk-e-Oceania/" WEB="/home/dom3/public_html/games/PvK-e-Oceania/" cd $DIR zip -9 $GAME.zip * mv $GAME.zip ~ # blank the log file since it grows by about 5 meg each turn # this way Im only logging one turn at a time cp /dev/null $DIR/$GAME.log # update the viewable copies of the shell files cp /home/dom3/dominions3/$GAME.sh $WEB/$GAME_sh.txt cp $DIR/pre_$GAME.sh $WEB/pre_$GAME_sh.txt cp post_$GAME.sh $WEB/post_$GAME_sh.txt # mark the time and load at the beginning of hosting echo pre >>$DIR/system_load.txt uptime >>$DIR/system_load.txt