darktable icon indicating copy to clipboard operation
darktable copied to clipboard

purge non existing images from the database

Open ddittmar opened this issue 2 years ago • 4 comments

Describe the solution you'd like

I like to purge non existing images from the database with a button in the UI

Alternatives

If managed to clean the database from within the flatpak:

  1. flatpak run --command=sh org.darktable.Darktable
  2. and then in flatpak: /app/share/darktable/tools/purge_non_existing_images.sh -c ~/.var/app/org.darktable.Darktable/config/darktable/ --purge

... but that's kind a cumbersome and a technical solution.

ddittmar avatar Oct 26 '23 08:10 ddittmar

This had already been asked (good to search and would have been better so to ask to reopen this old issue): #12554

Remember just 2 things:

  • darktable is made freely on their free time by a small team of developers. So this will be done only if one want to do that and spent time on it
  • flatpak packages are not supported by darktable team

Nilvus avatar Oct 26 '23 17:10 Nilvus

I have implemented this feature with a Lua script: https://github.com/darktable-org/lua-scripts/pull/435

ddittmar avatar Nov 11 '23 12:11 ddittmar

This issue has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue.

github-actions[bot] avatar Jan 11 '24 00:01 github-actions[bot]

I have implemented this feature with a Lua script: darktable-org/lua-scripts#435

Great! Thanks for the contribution! So I guess we can close this issue?

victoryforce avatar May 10 '24 18:05 victoryforce

Great! Thanks for the contribution! So I guess we can close this issue?

Yes :+1:

ddittmar avatar May 15 '24 06:05 ddittmar