Q100042: Temporarily setting the project directory in Mari

Follow

SUMMARY

This article shows how to temporarily set the Mari project directory (old cache directory) to a custom location, for all operating systems. 

Note: The project directory (in pre 3.0 versions called cache directory) contains all your project files and should never be modified without prior backups.

MORE INFORMATION

We highly recommend to have the project/cache directory on a local drive. If this is not the case, there could be potential issues as network drives sometimes cannot keep up with writing speeds of Mari consequently leading to dataloss.

To temporarily set your cache directory to a local folder do the following:

  1. Create a folder on your local hdd - e.g.
    C:\mari_projects
    or
    /tmp/mari_projects
  2. Start a Command Prompt / Terminal and set the environment variable for the cache directory (MARI_CACHE) - e.g.
    set MARI_CACHE=C:\mari_projects
    or
    export MARI_CACHE=/tmp/mari_projects
    More details on how to set environment variables.
  3. Run Mari from your install directory (still from the same Terminal/Command Prompt)- e.g.
    C:\Program Files\Mari3.0v2\Bundle\bin\Mari3.0v2.exe
    or
    /usr/local/Mari3.0v2/mari
  4. The opening window of Mari will have the cache directory set to the to the folder specified earlier.

 


Keywords: cache directory, project directory, set, environment variable, MARI_CACHE

Was this article helpful?
1 out of 1 found this helpful