#!/usr/bin/env bash help() { echo "Usage: ./$(basename $0) [destination]" } if [[ $* < 2 ]] ; then echo "No destination given" help exit 1 fi rsync -avP --include-from=filesToDeploy.txt . $1 exit 0