From 80c4d26573131ca8aa9cc4a69e9391b3ccd20455 Mon Sep 17 00:00:00 2001 From: Loki3000 Date: Fri, 23 Feb 2018 12:25:36 +0300 Subject: Fix work with symlink as a destination https://github.com/laurent22/rsync-time-backup/issues/92 --- rsync_tmbackup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index 8df5969..07289d4 100755 --- a/rsync_tmbackup.sh +++ b/rsync_tmbackup.sh @@ -68,7 +68,7 @@ fn_parse_date() { } fn_find_backups() { - fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name \"????-??-??-??????\" -prune | sort -r" + fn_run_cmd "find "$DEST_FOLDER/" -maxdepth 1 -type d -name \"????-??-??-??????\" -prune | sort -r" } fn_expire_backup() { -- cgit v1.2.3