mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-11 06:23:47 -05:00
added debugging to rsync
This commit is contained in:
@@ -394,6 +394,7 @@ function runRsync() {
|
||||
fi
|
||||
if [ "${METHOD}" = "rsync" ]; then
|
||||
notice "Commencing rsync"
|
||||
verbose "rsync -vahh${DRYRUN}${COMPRESS} --progress --force ${DELETE} ${EXCLUDE} ${EXCLUDELIST} ${SOURCEDIRECTORY} ${TARGETDIRECTORY} ${RSYNCLOG}"
|
||||
rsync -vahh${DRYRUN}${COMPRESS} --progress --force ${DELETE} ${EXCLUDE} ${EXCLUDELIST} "${SOURCEDIRECTORY}" "${TARGETDIRECTORY}" ${RSYNCLOG}
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user