Log matched media cleanup files

This commit is contained in:
Abel Luck 2026-06-01 08:45:42 +02:00
parent 87288561b9
commit 89e6a4d78c
4 changed files with 31 additions and 3 deletions

View file

@ -84,8 +84,8 @@ uv run repub cleanup-media --feeds-dir out/feeds --days 25 --dry-run
```
- Remove `--dry-run` to delete matching files. The command protects media
referenced by the latest published feed and uses a lock to avoid racing with
active crawls.
referenced by the latest published feed, lists each matched file before the
aggregate summary, and uses a lock to avoid racing with active crawls.
- For config-driven deployments, pass the runtime config so cleanup uses the
configured `out_dir` and media directory names: