Files
TheFistBdsManeger/mcpe-start.sh

8 lines
277 B
Bash
Raw Normal View History

2020-05-10 16:10:43 -03:00
#!/bin/bash
2020-05-14 16:49:18 -03:00
cd DIRE/mcpe/
2020-05-10 16:10:43 -03:00
LD_LIBRARY_PATH=. ./bedrock_server
echo 'Fazendo backup do mapa'
2020-05-20 21:33:31 -03:00
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
2020-05-10 16:10:43 -03:00
exit 1