14 lines
131 B
Bash
Executable file
14 lines
131 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
cd "$(dirname "$(realpath "$0")")"
|
|
|
|
|
|
if [ $# -lt 1 ]
|
|
then exit 2
|
|
fi
|
|
|
|
|
|
DEST="$1"
|
|
|
|
|
|
rsync -avzhP ./instance "$DEST"
|