added debugging to rsync

This commit is contained in:
Nathaniel Landau
2015-03-22 12:09:52 -04:00
parent 6d004a2729
commit 19dc2f7553

View File

@@ -394,6 +394,7 @@ function runRsync() {
fi fi
if [ "${METHOD}" = "rsync" ]; then if [ "${METHOD}" = "rsync" ]; then
notice "Commencing rsync" 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} rsync -vahh${DRYRUN}${COMPRESS} --progress --force ${DELETE} ${EXCLUDE} ${EXCLUDELIST} "${SOURCEDIRECTORY}" "${TARGETDIRECTORY}" ${RSYNCLOG}
fi fi
} }