search for: _execcom

Displaying 1 result from an estimated 1 matches for "_execcom".

2017 Feb 21
1
that ever puzzling special chars escaping + rdiff-backup
...good basher around here? I try in a script: _rdiffBack="rdiff-backup -v5 --tempdir /tmp/ --no-eas --exclude-other-filesystems --exclude-symbolic-links" _rdffiExclude="--exclude '**/~*' --exclude '**.tmp' --exclude-regexp '(.glusterfs|.trashcan|temp)'" _execCom=${!2} _sourceDir=${1} _backupTo=${3} __backMeUp() { for _sourceDir in ${_sourceDirs[@]}; do echo \$ ${_execCom} ${_rdffiExclude} ${_sourceDir}/ ${_backupTo} \> ${_logFile} | ${_copyToLog} ${_execCom} ${_rdffiExclude} ${_sourceDir}/ ${_backupTo} > ${_logFile} 2>&1 don...