btcollider/btadmin
armin 71fe2b4dc6 Fixed key merge in multi staged, added dump file loading and
- Added cmdline argument to read dmp file in CnC
- Fixed multiple bugs when merging keys and loading buffered keys in
multi stage
2018-05-01 18:01:34 +02:00

25 lines
597 B
Bash
Executable file

#!/bin/bash
case $1 in
cnc)
setsid scp /home/armin/dev/btcollider/cnc/CnC/cnc.jar btcollider:~
;;
doc)
cd docker && make
;;
log)
scp -r btcollider:~/logs /home/armin/dev/btcollider/logs/logs-$(date -Iseconds)
;;
dmp)
scp btcollider:~/dmp /home/armin/dev/btcollider/dmps/dmp-$(date -Iseconds)
;;
*)
echo "USAGE: ./btadmin <command>"
echo
echo "Commands:"
echo "cnc upload cnc to 35.196.141.41"
echo "doc build and upload docker image to gitlab"
echo "log download log files from 35.196.141.41"
echo "dmp download dump file from 35.196.141.41"
;;
esac