6
\$\begingroup\$

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.

\$\endgroup\$

2 Answers 2

1
\$\begingroup\$

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.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ I strongly recommend the second option because otherwise, you may lose more than just the history stack. \$\endgroup\$ Commented Feb 3, 2014 at 20:24
  • \$\begingroup\$ @bronger Now it is the first option... thanks, you're right of course. \$\endgroup\$
    – Rmano
    Commented Feb 3, 2014 at 21:00
18
\$\begingroup\$

Actually there is a discard history feature inside darktable for exactly this. But as the documentation states:

"Beware: this action can not be undone!"

In the lighttable view, select all images you want to reset, then in the right panel, find the module history stack and click discard history. That will "Physically delete the history stack of the selected images."

Further information in the user manual.

\$\endgroup\$
1
  • \$\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
    Commented Jul 18, 2016 at 17:29