diff options
| author | Laurent Cozic <laurent22@users.noreply.github.com> | 2018-02-23 09:53:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-23 09:53:45 +0000 |
| commit | c211541848bfc8b68d57aa330cf959e69cd40f23 (patch) | |
| tree | d952f30622bb88bade3e1a149c985c2b9fe2cc23 | |
| parent | 5aac62cfc0e9498469b73a9f8ad77320ed8fc9ea (diff) | |
| parent | 80c4d26573131ca8aa9cc4a69e9391b3ccd20455 (diff) | |
Merge pull request #110 from Loki3000/master
Fix work with symlink as a destination
| -rwxr-xr-x | rsync_tmbackup.sh | 2 |
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() { |
