Commit bf2af232 authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

exclude automatically csback specific files from copy process

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5067
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent e6b7b308
......@@ -50,7 +50,9 @@
# 07/03/2013 V1.1 provide '-newer' option for copy commands
# 12/03/2013 V1.1.1 add keychain option to secure copy process
# 14/03/2013 V1.1.2 csbackscp wait 10 min on lock
# 15/03/2013 V1.1.3 secure copy option - optional lock of directories
# 15/03/2013 V1.1.3 secure copy option - optional lock of directories; exclude
# .lock and checksumfile.result files from rsync copy
# process
#
# =============================================================================
"""
......@@ -75,7 +77,7 @@ else:
sys.stderr.write("csback2cron: Incompatible python version.\n")
import csbackErrorCodes as eCodes
__version__ = "V1.1.2"
__version__ = "V1.1.3"
__subversion__ = "$Id$"
__license__ = "GPLv2+"
__author__ = "Daniel Armbruster"
......@@ -415,7 +417,7 @@ class Processor():
copy['cronexpr'] = self.config.get(key, 'cronexpr').strip()
copy['srcdir'] = self.config.get(key, 'srcdir').strip()
copy['targetdir'] = self.config.get(key, 'targetdir').strip()
copy['exclude'] = []
copy['exclude'] = ['.lock', 'checksumfile.result*']
if self.config.has_option(key, 'exclude'):
copy['exclude'].extend(self.config.get( \
key, 'exclude', raw=1).split(", "))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment