From c5d1e04d6ac871dc48fde3a46081919f094d74cc Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 8 Nov 2013 18:58:49 +0100 Subject: [PATCH] fixed symlink creation --- bash/backup-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/backup-remote.sh b/bash/backup-remote.sh index 879f46b..6de151c 100644 --- a/bash/backup-remote.sh +++ b/bash/backup-remote.sh @@ -88,4 +88,4 @@ rsync $OPTS $SRC $DEST/.current/ btrfs subvolume snapshot -r $DEST/.current $DEST/$DATE # create symlink to latest snapshot -ln -sf $DATE latest +ln -rsfT $DATE latest