imprv: restrict ics file search to collection depth

This commit is contained in:
2025-07-08 09:35:37 +02:00
parent 56030912d7
commit 75acdc87f3

View File

@@ -22,7 +22,7 @@ if [ ! "${SCRIPT_LOADED:-}" ]; then
fi
__lines() {
find "$ROOT" -type f -name '*.ics' -print0 | xargs -0 -P 0 \
find "$ROOT" -mindepth 2 -maxdepth 2 -type f -name '*.ics' -print0 | xargs -0 -P 0 \
awk \
-v collection_labels="$COLLECTION_LABELS" \
-v flag_open="$FLAG_OPEN" \