configure location for local copies

Hi all,

Having extra fast storage available, I wanted to set a custom location for the copy-local pics. The documentation suggests this is not possible. Is there an option that I can add to darktablerc to override the default location?

Why not use —cachedir option, or symlink your ~/.cache/darktable directory to a directory on your fast storage device?

Thanks, Matt;

I replaced the ~/.cache/darktable with a symlink and it works a treat.

1 Like

I know this is an old topic but it would be great to have an option in the UI to change this cache location (yes, I know the potential hazards). I don’t have a way to make local copies on my Mac laptop due to space limitations but I have a 1TB external SSD I can’t make use of.

Just start darktable from the command line with option --cachedir /path/to/your/cachedir.

I’ve tried it with that --cachedir option:

open darktable.app --cachedir “/Volumes/1TB SSD/dt_cache”

…and I get:

unrecognized option `–cachedir’

The --cachedir option is undoubtedly existing and correct, I use it all the time. See also the manual darktable 4.9 user manual - darktable. I work with Linux, I’m not sure how exactly the command should look under MacOS. Possibly option and path together in quotation marks ?
Search the internet : how to run an application with command line arguments on MacOS ?

The message in the second quotation contains a typographic en/em dash(?) , not two minus signs --.

Thanks for your help thus far. This looks like it works, although there’s a lot of info I don’t understand in the terminal.

/Applications/darktable.app/Contents/MacOS/darktable --cachedir “/Volumes/1TB SSD/dt_cache”

Reference:
https://darktable-users.narkive.com/7ZmbsMn3/darktable-user-dt-arguments-from-command-line-in-mac-os-x

That seems to suggest that in
/Applications/darktable.app/Contents/MacOS/darktable --cachedir “/Volumes/1TB SSD/dt_cache”
the --cachedir option applies to the darktable executable,
where in
open darktable.app --cachedir “/Volumes/1TB SSD/dt_cache”
the --cachedir option is swallowed by the open command, which tries (and fails) to use it

1 Like