1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-11-27 01:51:35 +00:00
8bitworkshop/scripts/sync-dev.sh

7 lines
284 B
Bash
Raw Normal View History

2018-08-06 21:29:59 +00:00
#!/bin/bash
2018-07-26 15:50:20 +00:00
. ./scripts/env.sh
DESTPATH=$RSYNC_PATH/dev/
git ls-files -z | rsync --stats --exclude '.*' --exclude 'scripts/*' --exclude=node_modules -ril --chmod=a+rx -e "ssh -p 2222" --files-from - -0 . $DESTPATH
2018-11-23 18:29:11 +00:00
rsync --stats -rpilvz --chmod=a+rx -e "ssh -p 2222" ./gen $DESTPATH/