sorting by file type in "copy & import" dialog

The “copy & import” dialog box in Darktable has columns to sort by name, modified and show/hide thumbnails. Is it possible to have it also show file type (extension), perhaps through a preference somewhere?

The reason I am asking is that I often open directories which have a combination of CR3, JPG and WAV files (voice memos matching some of the images), and I usually want to import only the CR3 files and WAV files. If I check “ignore non-raw images” this hides the JPGs but of course also hides the WAV files. And if I show all the files, then I will see all the JPG files as well as the CR3 and WAV files making selecting just the CR3 and WAV files difficult and error prone. Any suggestions? I know I can manage the importing outside Darktable (e.g. with a shell script), but I am wondering if there is a way to handle this within Darktable, preferably through the “copy & import” dialog box. Thank you.

I’ve put together a shell script using gphoto2 which imports files (CR2 and WAV) from the camera and puts them where I want them. (I forgot to mention in my original post that I’m especially keen to have something that works with a connected camera, not just memory cards). I then just have to add them to the Darktable library. It’s not quite as slick as doing it all in Darktable, but really it’s only one extra step (running the import script) and I think I can live with that.

How does darktable handle the WAV files?

Sorry, I hadn’t seen this message. If there is a WAV file with the same name as the image file, in the same directory, a little speaker icon shows up in the lighttable view above the image. If you click on it, the WAV file plays. (Very handy!) To change the command which is issued when you click on the icon, Preferences > Security > executable for playing audio files. On Linux I have that set to aplay; on a Macbook I have it set to afplay (which I think I installed separately using homebrew).

1 Like