+1 vote
948 views
I have a student who does not have sufficient space on his internal hard drive. He would like to redirect openLCA to an external drive when using/activating databases. Is that possible? There appears to be one question on ask.openlca that tells how to redirect openLCA in windows by changing the openlca.ini file. Is there a comparable trick for Macs?
in openLCA by (160 points)

1 Answer

0 votes
by (125k points)

Indeed, it is possible to change the location of the database folder, in the openLCA.ini (which is in the same folder as openLCA.exe):

The start could be

-nl
en
-olcaDataDir
C:\...the_new_path_to_the_database_folder

...

Make a backup of the file before, then edit and save it.

On a Mac, it should be the same. olcaDataDir needs to be written exactly as above.

Hth, Andreas

by (14.0k points)
Note that on macOS it is not the openLCA.ini file that is used for the configuration but the file Contents/Eclipse/eclipse.ini in the package content. So you would have to set the -olcaDataDir parameter in this file (with a full path to a folder where you have write access; which of course would not start with C:\ on macOS).
...