Search for multiple filenames

Hi, i have a list of filenames:

20240916_0006,20240916_0028,20240916_0035,20240916_0036,20240916_0037,20240916_0060,20240916_0066,20240916_0068

How can i filter my pictures for multiple filenames?
I have pasted the list in collection filters / search field, but i have no results.

Use lighttable → collections module combining multiple filters : darktable 4.9 user manual - collections

Thank you. So i must add one “or” rule for each file when i wan’t to filter 200 pictures? Is there a faster way?

You can define search pattern including wildcards. Whether this can be successful in your case depends on which file names are to be filtered against which other file names.

Those names seem to be based on the date. Maybe just filter on the day, sort the files by time, and scroll?

My client selected a lot of files in picdrop (tool to select pictures), in lightroom you can simply paste a list of filenames in the search field, so i can work with this collection.

Haven’t tried it, but there’s a Lua script here that seems to do what you want: darktable/scripts at master · nbremond77/darktable · GitHub

With Lua script that @Donatzsky mentioned is probably your best option. With plain darktable, you can use patterns and there is a selection list:

You may use % as wildcard character.
darktable 4.9 user manual - collections

It’s not perfect, but 20240916_00% should bring down the range to 100 images, which you then may narrow down further using select by value:

As well as defining filter criteria using a search pattern, you can also manually choose from a list of values (for the chosen attribute) taken from the currently-matching set of images. Making such a selection will automatically populate the “search pattern” field.