Add rsync_clone script.

This commit is contained in:
Tom Alexander
2026-05-06 10:02:20 -04:00
parent 6fd09a712e
commit d83652bb9c
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/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 "$@"