Add media retention cleanup command
This commit is contained in:
parent
3b6503a6ed
commit
507074b80e
10 changed files with 722 additions and 52 deletions
|
|
@ -22,3 +22,8 @@ REPUBLISHER_FEED_URL = "https://mirror.example"
|
|||
# images plus JPEG thumbnails.
|
||||
# REPUBLISHER_IMAGE_NORMALIZE_ENABLED = true
|
||||
# REPUBLISHER_IMAGE_THUMBNAILS_ENABLED = true
|
||||
|
||||
# Media cleanup can use this config:
|
||||
# uv run repub cleanup-media --config demo/repub.toml --dry-run
|
||||
# It scans out_dir/feeds, honors REPUBLISHER_*_DIR overrides, and defaults to a
|
||||
# 25-day retention window for old media not referenced by the latest feed.rss.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue