You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
213 B
16 lines
213 B
4 years ago
|
#!/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
|