mirror of
https://github.com/laurent22/rsync-time-backup
synced 2024-11-10 06:04:18 +00:00
Merge pull request #76 from SimonHeimberg/patch-1
do not search for directories recurisve
This commit is contained in:
commit
9a5afa66f4
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue