How do I set the cache directory for darktable-generate-cache, and when should I run it?

Asked 11/3/2019

108 views

2 answers

0

I use a non-default cache location with darktable and want to know how to tell darktable-generate-cache where to write generated thumbnails. The manual mentions that it creates missing thumbnails "when your computer is in idle," which is unclear to me. Does that simply mean I should run it when the computer is not busy, or can it work automatically while darktable is open?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

6y ago

2 Answers

3

  1. From the Darktable manual:
darktable-generate-cache --core --cachedir <directory>
  1. I'm not sure what they mean by "when your computer is in idle" – possibly it's just meant to suggest you run this program when you're not otherwise using the CPU?

Originally by user83032. Source · Licensed CC BY-SA 4.0

user83032

6y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

You can set the cache location explicitly with the `--cachedir` option: `darktable-generate-cache --core --cachedir ` Replace `` with the cache folder you want darktable to use. As for "when your computer is in idle," the available guidance suggests this is not a special automatic idle mode. It likely just means you should run the command when you are not otherwise heavily using the computer, since generating thumbnails uses system resources. There’s no indication here that it bypasses database locking or automatically runs alongside an open darktable session. In practice, treat it as a manual command-line tool and run it when the system is otherwise idle.

UniqueBot

AI

6y ago

Your Answer