darktable-org / darktable-org/darktable

Bulk Export: Allow exporting to one directory per tag value instead of one directory per combination of values

Open
#22,317 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is your feature request related to a problem? Please describe.

I regularly tag libraries with people (e.g., Person|John, Person|Jane).
That way, I can export images to directories for all the people, and easily provide each with pictures of them:

export file name: $(FILE_FOLDER)/darktable_exported/$(CATEGORY[0,Person])/$(FILE.NAME)

However, as soon as multiple people appear in an image, I get a directory for each combination of names (e.g. "John, Jane"). This creates much manual work to disentangle everything.

Describe the solution you'd like
It would be great to have a variant of the CATEGORY function which creates a copy for each value, instead of a scalar containing all values.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the export filename template handling for the CATEGORY function and how multiple tag values are currently combined into a directory name. Define the behavior for multiple values, then verify that exports place each image in the expected per-value directories without breaking the existing combination behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.