carnetdejeu-crystal/deploy.sh

16 lines
213 B
Bash
Executable File

#!/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