Displaying 1 result from an estimated 1 matches for "rdiffthis".
2017 Feb 21
1
that ever puzzling special chars escaping + rdiff-backup
...}
_backupTo=${3}
__backMeUp() {
for _sourceDir in ${_sourceDirs[@]}; do
echo \$ ${_execCom} ${_rdffiExclude} ${_sourceDir}/
${_backupTo} \> ${_logFile} | ${_copyToLog}
${_execCom} ${_rdffiExclude} ${_sourceDir}/
${_backupTo} > ${_logFile} 2>&1
done
}
case ${1} in
rdiffThis)
declare -a _sourceDirs=( /0-ALL.DATA/rdiffThis );
__backMeUp ${@}
;;
esac
this is a snippet which may look obscure but obvious is:
rdiff-backup some data, just that.
And when I run it as a script
~]$ runme.sh rdiffThis _rdiffBack toHere
I see:
Fatal Error: Fatal Error: The file specific...