When I shoot tethered, darktable imports the images twice.
darktable 5.4.0 AppImage on Ubuntu 24.04
Nikon Z 7ii shooting RAW+JPEG
Steps to reproduce
Connect camera via USB and unmount the camera’s filesystem.
Start darktable.
Click “mount camera”.
Click “tethered shoot”.
Press the shutter once.
Observe that there are now four image files, two NEF and two JPG on the computer. There are only two on the camera memory card.
For example:
tippy:~/pictures/2025/2025-12-28/tethering test $ ls -lh
total 115M
-rw-rw-r-- 1 art art 9.9M Dec 28 18:39 2025-12-28_18-39-18_0001.JPG
-rw-rw-r-- 1 art art 48M Dec 28 18:39 2025-12-28_18-39-18_0002.NEF
-rw-rw-r-- 1 art art 9.9M Dec 28 18:39 2025-12-28_18-39-18_0003.JPG
-rw-rw-r-- 1 art art 48M Dec 28 18:39 2025-12-28_18-39-18_0004.NEF
Is there a setting that I have missed or is this a bug?
@paperdigits I expect to get one raw plus one JPEG when I push the shutter button one time for a total of two files. I’m getting two of each, for a total of four files.
How many times do I have to say this? I pressed the shutter button ONE time. The camera has TWO files, ONE raw and ONE JPEG. There are TWO copies of each file on the computer.
Yup. I finally found the camera setting. I had set the camera to store a backup of each file to the second memory card. Apparently gphoto2 identifies and copies new files, not images, so it copied all four of the files, the two “primary” and the two “backup” files.