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

corrected path

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: 5066
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 7f7178d0
......@@ -33,13 +33,16 @@ TUN_INTERFACE=tun0
# approx. 80% of 256 kBit/second
BWLIMIT=32
EXCLUDE="--exclude='.lock'"
BFO_BASEDIR=/media/BFO_archive
BFO_BASEDIR=/data/BFO
LSDF_BASEDIR=\
gpi-seis@gpilsdf.gpi.uni-karlsruhe.de:/gpfs/lsdf/gpi/GPI/SEIS/projects/BFO
# NOTE: If adding an additional data directory an exclude pattern must be added,
# too. Add an empty string if no data has to be excluded.
DATADIRS=('seedlink/' 'SG/UIPC/')
EXCLUDE_PATTERNS=("--exclude-from=/home/csback/tools/seedlink.exclude" '')
EXCLUDE_PATTERNS=(\
"--exclude-from=/home/csback/csback.config/BFO2LSDF.sl.exclude" '')
#DATADIRS=('SG/UIPC/')
#EXCLUDE_PATTERNS=('')
# programs
IP=/bin/ip
......@@ -98,7 +101,7 @@ source $HOME/.keychain/$HOSTNAME-sh
for i in ${!DATADIRS[*]}
do
# copy data (compressed)
${RSYNC} -nv -z -a --protocol=29 --bwlimit ${BWLIMIT} ${EXCLUDE} \
${RSYNC} -v -z -a --protocol=29 --bwlimit ${BWLIMIT} ${EXCLUDE} \
${EXCLUDE_PATTERNS[$i]} ${BFO_BASEDIR}/${DATADIRS[$i]} \
${LSDF_BASEDIR}/${DATADIRS[$i]}
......
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