carnetdejeu-crystal/deploy.sh

16 lines
213 B
Bash
Raw Normal View History

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