-f directly befor

pull/1/head
xor 2015-10-04 22:48:04 +02:00
parent accfe2bda4
commit aaa51525e8
1 changed files with 2 additions and 2 deletions

View File

@ -135,11 +135,11 @@ then
for file in $(diff ${DIGEST_FILE} ${DIGEST_FILE_TMP} | grep '<' | cut -d'*' -f2 | sed 's/\ /\\ /g' );
do
#lösche_aus_tar
tar --delete -z -f -v $BACKUP_FILE $file
tar --delete -z -v -f $BACKUP_FILE $file
done
for file in $(diff ${DIGEST_FILE} ${DIGEST_FILE_TMP} | grep '>' | cut -d'*' -f2 | sed 's/\ /\\ /g' );
do
tar -r -z -f -v $BACKUP_FILE $file
tar -r -z -v -f $BACKUP_FILE $file
done
#mv -v ${DIGEST_FILE_TMP} ${DIGEST_FILE} || die 7