fixed check for previous backups in zsh

This commit is contained in:
Wietse Franssen
2017-09-22 15:23:46 +02:00
parent 1ed730e614
commit dfeafb3d9f
+1 -1
View File
@@ -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() {