#!/bin/bash # # FlockLab2 server update script. USER="flocklab" HOST="flocklab-dev-server" RSYNCPARAMS="-a -z -c -K --exclude=.git" if [ $# -gt 0 ]; then HOST=$1 fi echo "Going to update files on FlockLab server $HOST..." sleep 2 # give the user time to abort, just in case # testmanagement server files # optional to only look for changed files: | grep '^