Split off rsyncing folder of scripts to seperate script

This commit is contained in:
2025-12-24 16:29:35 -05:00
parent 2028fa4396
commit 16018759fb
2 changed files with 10 additions and 3 deletions

View File

@@ -137,9 +137,7 @@ if [[ "${ID}" == 'fedora' ]]; then
"${baseDir}/fedora.sh" --resolv-conf "${baseDir}/fedora.sh" --resolv-conf
fi fi
rsync -pogAXtlHrDx \ "${baseDir}/rsync.sh"
"${baseDir}" \
/mnt
if [[ "${ID}" == 'elementary' ]]; then if [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/elementary.sh" --skel "${baseDir}/elementary.sh" --skel

9
rsync.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -euo pipefail
baseDir="$(realpath "$(dirname "${0}")")"
rsync -pogAXtlHrDx \
"${baseDir}" \
/mnt