~jadedctrl/jam-xwx-moe

~jadedctrl/jam-xwx-moe/robotoj/esperanto fluo/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 ruli.sh $(whoami)@xwx.moe:/opt/fedbots/manicito/esperanto_fluo/ruli.sh
8
9 if test "$RSYNC_DRYRUN" = "--dry-run"; then
10 echo "=================================================="
11 echo "Ran in --dry-run mode!"
12 echo "Try '$(basename "$0") --real' if the output seems OK."
13 echo "=================================================="
14 fi