summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Cozic <laurent22@users.noreply.github.com>2018-02-23 09:53:45 +0000
committerGitHub <noreply@github.com>2018-02-23 09:53:45 +0000
commitc211541848bfc8b68d57aa330cf959e69cd40f23 (patch)
treed952f30622bb88bade3e1a149c985c2b9fe2cc23
parent5aac62cfc0e9498469b73a9f8ad77320ed8fc9ea (diff)
parent80c4d26573131ca8aa9cc4a69e9391b3ccd20455 (diff)
Merge pull request #110 from Loki3000/master
Fix work with symlink as a destination
-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() {