Skip to content

Speed-up multiple exports #1328

Answered by RhetTbull
nicad asked this question in Q&A
Dec 12, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, this is possible using a custom template function. In effect, you'd use your custom template function for the --directory template and let it decide where to put each photo. The deleted and favorite are easy because the template function receives a PhotoInfo object for the photo being exported that can be examined to determine if photo is in trash or is a favorite. The "New" export is more challenging because the template function won't know if the photo is a new photo. This is solved in the example below by using a key-value store (a simple database) to track which photos have previously been exported.

What is your intent for cleaning up the "New" folder? You currently don't run --c…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nicad
Comment options

@RhetTbull
Comment options

Answer selected by nicad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants