1
1
mirror of https://schlomp.space/tastytea/hashboot synced 2024-11-16 14:37:06 +01:00

safety first.

This commit is contained in:
xor 2015-10-04 23:36:53 +02:00
parent 56b3b7fbf3
commit 45fe338834

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