Give backup album folders distinct names and remove stale entries #115

Merged
clawbot merged 1 commits from issue-103-album-folders into next2 2026-09-23 06:36:13 +02:00
1 Commits
Author SHA1 Message Date
sneak bbdf8117ff Give backup album folders distinct names and remove stale entries (closes #103)
check / check (push) Successful in 15s
Within a collection's folder, files whose sanitized titles match (ignoring
case) each get their file ID added before the extension, and collections
whose sanitized names match get their ID added. This repeats until no name,
including one with an ID added, matches another, so no symlink or JSON
replaces another. Names are chosen across all collections, so a scoped run
names folders the same as a full one.

Each run first removes symlinks into originals/ that no longer belong to a
collection, and the folders quak wrote (a sibling JSON with an album ID) for
collections that are gone or renamed. Anything else is left alone; a folder
still holding user files keeps its JSON.

Model: opus-5-5
2026-09-23 04:21:57 +00:00