It’s easy to change the location of temporary files within the KNIME client using the preferences dialog.
However, in an environment where you don’t have a GUI (a Linux command line, for example), how can you change this location?
[Tried editing knime-workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs, and adding knime.tempDir=/… but KNIME continues to use the default directory.
How can I change this setting via command line or editing a file?
Thank you, Andrew.
Created a file ‘knime.epf’ which consists of a single line
knime.tempDir=/disk1/knime/temp
and added
-preferences=knime.epf
…
to the command used to run the workflow.
The temporary files are still written to the default temp dir, /tmp, instead of the directory specified in the file.
Can you see if I’m missing something that will signal to KNIME to use the specified temporary directory?
I don’t know if it is possible to limit the preferences file to this entry.
And if I export the preferences the entry for this var is /instance/org.knime.workbench.core/knime.tempDir. Maybe that’s why?