add sync to bot
This commit is contained in:
parent
c7d0aa6724
commit
0f86854366
10
bot
10
bot
|
@ -51,11 +51,17 @@ case "$1" in
|
|||
;;
|
||||
|
||||
loc)
|
||||
wc src/*.php src/Commands/*.php
|
||||
find src -name '*.php' | xargs wc -l
|
||||
;;
|
||||
|
||||
cloc)
|
||||
cloc src/*.php src/Commands/*.php
|
||||
cloc --exclude-dir=vendor --include-lang=PHP .
|
||||
;;
|
||||
|
||||
sync)
|
||||
rsync -av ben@benharris.ch:workspace/benbot/uploaded_images/ uploaded_images/
|
||||
rsync -av ben@benharris.ch:workspace/benbot/bot_data/ bot_data/
|
||||
|
||||
;;
|
||||
|
||||
restart)
|
||||
|
|
Loading…
Reference in New Issue