9 lines
204 B
Bash
9 lines
204 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Wrapper to set rsync flags for cloning a folder preserving attributes
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
exec rsync -aHAXS "$@"
|