Files
TheFistBdsManeger/mcpe-start.sh
Matheus sampaio Queiroga 1300a60020 update
2020-05-20 21:33:31 -03:00

8 lines
277 B
Bash

#!/bin/bash
cd DIRE/mcpe/
LD_LIBRARY_PATH=. ./bedrock_server
echo 'Fazendo backup do mapa'
cd worlds/ ; zip $(TZ=UTC+3 date +"%d-%m-%Y-%H-%M-%S")-"MAPASS".zip -r "MAPASS"
desc=$(TZ=UTC+3 date +"%d-%m-%Y-%H-%M-%S")
cd backup ; git add . ; git commit -m "$desc" ; git push
exit 1