~jadedctrl/jam-xwx-moe
~jadedctrl/jam-xwx-moe/robotoj/novaĵoj facilaj/push.sh
~jadedctrl/jam-xwx-moe/robotoj/novaĵoj facilaj/push.sh
0 | #!/bin/sh |
1 |
|
2 | RSYNC_DRYRUN="--dry-run" |
3 | if test "$1" = "--real"; then |
4 | RSYNC_DRYRUN="" |
5 | fi |
6 |
|
7 | rsync $RSYNC_DRYRUN --verbose sfeedrc $(whoami)@xwx.moe:/opt/fedbots/uea/sfeedrc |
8 | rsync $RSYNC_DRYRUN --verbose ruli.sh $(whoami)@xwx.moe:/opt/fedbots/uea/ruli.sh |
9 |
|
10 | if test "$RSYNC_DRYRUN" = "--dry-run"; then |
11 | echo "==================================================" |
12 | echo "Ran in --dry-run mode!" |
13 | echo "Try '$(basename "$0") --real' if the output seems OK." |
14 | echo "==================================================" |
15 | fi |