summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Cozic <laurent22@users.noreply.github.com>2017-09-23 19:07:46 +0100
committerGitHub <noreply@github.com>2017-09-23 19:07:46 +0100
commitd5b26f76e1ff34edbaa934c32464540ddcea070e (patch)
tree99c4d1a983e65bded9273371816f07a7c70f234e
parent1ed730e61451133b6fd52b1ef3ff672ffb166d6a (diff)
parentdfeafb3d9f21f3470b8b5a73751760078f234234 (diff)
Merge pull request #91 from wietsefranssen/fix/zsh
fixed check for previous backups in zsh
-rwxr-xr-xrsync_tmbackup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh
index fc8ceb8..31df278 100755
--- a/rsync_tmbackup.sh
+++ b/rsync_tmbackup.sh
@@ -60,7 +60,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() {