diff options
| author | Laurent Cozic <laurent22@users.noreply.github.com> | 2017-09-23 19:07:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-23 19:07:46 +0100 |
| commit | d5b26f76e1ff34edbaa934c32464540ddcea070e (patch) | |
| tree | 99c4d1a983e65bded9273371816f07a7c70f234e | |
| parent | 1ed730e61451133b6fd52b1ef3ff672ffb166d6a (diff) | |
| parent | dfeafb3d9f21f3470b8b5a73751760078f234234 (diff) | |
Merge pull request #91 from wietsefranssen/fix/zsh
fixed check for previous backups in zsh
| -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 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() { |
