Skip to content

feat(download): add folder strategies and local file reconciliation - #1

Closed
coco1988 wants to merge 1 commit into
mainfrom
feature/download-structure-reconcile
Closed

feat(download): add folder strategies and local file reconciliation#1
coco1988 wants to merge 1 commit into
mainfrom
feature/download-structure-reconcile

Conversation

@coco1988

@coco1988 coco1988 commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

Adds configurable folder strategies to the bulk download configuration and moves obsolete or excluded local files into dedicated subfolders.

Changes

  • Add a folderStructure configuration with the following options:
    • none
    • date
    • weekday
  • Add date-based folder organization using the image capture date.
  • Add weekday-based folder organization using English weekday names, for example:
    20260804 Tuesday/
    
  • Persist folderStructure in the download configuration.
  • Support folderStructure when creating and updating download configurations.
  • Reconcile existing local files before downloading:
    • Move files that no longer exist in the image catalog to deleted/.
    • Move files matching the blacklist to blacklist/.
  • Add tests for folder strategy selection, date extraction, and weekday folder naming.

Example

With:

{
  "folderStructure": "weekday"
}

files are placed in a structure such as:

20260804 Tuesday/
└── FSG26_001_max.jpg

Files that are no longer present or are blacklisted are moved to:

deleted/
blacklist/

@coco1988 coco1988 closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant