How can I reset the history stack for many images at the same time in darktable?

I have edited many pictures. However I want to start from scratch. I understand how I can reset the history stack for a single image with "Compress history stack". However, for many hundred images it is very tedious. I need to reset the history stack for all images in question.

I am using darktable 1.4.


Probably the straightforward way would be to reset the history stack of one of the photos; then in lighttable select that photo and "copy history stack"; then select all the photos you want to reset and "paste history stack" to them.

This is a hack: I didn't try this --- but probably removing all the .xmp files AND re-importing the images will do the trick.

  • 1
    I strongly recommend the second option because otherwise, you may lose more than just the history stack. – Torsten Bronger Feb 3 '14 at 20:24
  • @bronger Now it is the first option... thanks, you're right of course. – Rmano Feb 3 '14 at 21:00

Actually there is a feature inside darktable for exactly this. Select all images you want to reset, then in the right panel, find the module [history stack] and click [discard]. That'll reset all the selected images.

Further information in the user manual.

  • Thks for the information, but it seems it does not work on DT 2.0.5 german version. Reset does not work on many pictures. Therefore I will try option 1. – user53991 Jul 18 '16 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy