correct position for maxdept parameter

as suggested by the output of find
This commit is contained in:
SimonHeimberg 2017-05-04 14:55:32 +02:00 committed by GitHub
parent 41f9bd1c8c
commit 6364fe1ca0

View file

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