Fix work with symlink as a destination

https://github.com/laurent22/rsync-time-backup/issues/92
This commit is contained in:
Loki3000 2018-02-23 12:25:36 +03:00 committed by GitHub
parent 5aac62cfc0
commit 80c4d26573
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {