#!/bin/bash if [ -n "$1" ]; then rsync -avz -e "ssh -o StrictHostKeyChecking=no" --progress tmp/deploy/ipk/ tkl@e320:/srv/ipk/$1 else echo "Which branch?" exit -1 fi