summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoki3000 <github@labcms.ru>2018-02-23 12:25:36 +0300
committerGitHub <noreply@github.com>2018-02-23 12:25:36 +0300
commit80c4d26573131ca8aa9cc4a69e9391b3ccd20455 (patch)
treed952f30622bb88bade3e1a149c985c2b9fe2cc23
parent5aac62cfc0e9498469b73a9f8ad77320ed8fc9ea (diff)
Fix work with symlink as a destination
https://github.com/laurent22/rsync-time-backup/issues/92
-rwxr-xr-xrsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
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() {