Feature #12069

Option to delete photos on SD card during import

Added by Philip Moseley almost 2 years ago. Updated over 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
hardware architecture:


When I'm importing photos from a camera SD card, I'd like the option to delete those photos from the card once they've been successfully imported.

To me this reduces the risk that I delete unimported photos. Darktable is just about the only software I have which can read my RAW files anyway, so it's tough to know which photos have already been imported and which have not yet been imported with just a list of numbered file names on the SD card. At the moment, I resort to reopening the Darktable import dialog, checking all the thumbnails to see if I remember seeing that image on disk, and then manually deleting the photos from the card with the file manager.

This seems like such a basic feature that I can't help wondering if I missed it somewhere? How do you handle your workflows to ensure that a) all your photos are imported b) nothing is accidentally deleted?

I often have several separate "sessions" on the card at the same time that all need to be imported separately to have the appropriate jobnames, and it's a maze to import only the right ones at the right time, without leaving anything behind.


#1 Updated by Tobias Ellinghaus almost 2 years ago

If I remember correctly we did have the ability to delete files after copying them from the card, but it was removed as we were not confident enough that the copy operation always succeeded. So in order to not delete files that were not copied we decided to remove the deletion code.

That being said, I am not aware of any darktable developer using the camera import functionality in darktable so don't expect anyone to work on that.

#2 Updated by Nikolai Försterling almost 2 years ago

I'm using "rapid-photo-downloader" for the task to get the raw files off the sd cards.
Advantage is that even the raw files do have a proper filename when using name schemes.

#3 Updated by Aurélien PIERRE over 1 year ago

It's not a good thing to remove files on the SD card from the computer. You better use the in-camera formatting option since it's safer and prevents filesystem corruption. The reason is the camera writes security headers on the filesystem that the OS doesn't see. The details are fuzzy in my memory, but once you have an SD card fail on you, you get a bit paranoïac on that topic.

Also available in: Atom PDF

Go to top