machine_setup/ansible/roles/base/files/rsyncclone
2022-10-28 01:10:07 -04:00

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 "$@"