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.


2 Answers 2


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
    \$\begingroup\$ I strongly recommend the second option because otherwise, you may lose more than just the history stack. \$\endgroup\$ Feb 3, 2014 at 20:24
  • \$\begingroup\$ @bronger Now it is the first option... thanks, you're right of course. \$\endgroup\$
    – Rmano
    Feb 3, 2014 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.

  • \$\begingroup\$ 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. \$\endgroup\$
    – user53991
    Jul 18, 2016 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.