diff --git a/rsync_tmbackup.sh b/rsync_tmbackup.sh index e9446c8..fc8ceb8 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" -type d -name "????-??-??-??????" -prune | sort -r" + fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r" } fn_expire_backup() {