Merge pull request #76 from SimonHeimberg/patch-1

do not search for directories recurisve
This commit is contained in:
Laurent Cozic 2017-06-08 14:02:44 +01:00 committed by GitHub
commit 9a5afa66f4

View file

@ -60,7 +60,7 @@ fn_parse_date() {
}
fn_find_backups() {
fn_run_cmd "find "$DEST_FOLDER" -type d -name "????-??-??-??????" -prune | sort -r"
fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r"
}
fn_expire_backup() {