From: Zoran Zaric Date: Mon, 6 Dec 2010 12:00:09 +0000 (+0100) Subject: Makes import-rsnapshot use save's -f option. X-Git-Tag: bup-0.21-rc1^4~1 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=8bf6a7f2e033c158934c351d360e3b406c9d4b2c Makes import-rsnapshot use save's -f option. Signed-off-by: Zoran Zaric --- diff --git a/cmd/import-rsnapshot-cmd.sh b/cmd/import-rsnapshot-cmd.sh index 98b87c5..e828f5b 100755 --- a/cmd/import-rsnapshot-cmd.sh +++ b/cmd/import-rsnapshot-cmd.sh @@ -39,10 +39,12 @@ for SNAPSHOT in "$ABSPATH/"*; do if [ "$TARGET" == "" ] || [ "$TARGET" == "$BRANCH" ]; then bup index -ux \ + -f $TMPIDX \ $BRANCH_PATH/ bup save \ --strip \ --date=$DATE \ + -f $TMPIDX \ -n $BRANCH \ $BRANCH_PATH/