mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Updated Data directory (markdown)
parent
6bd69ea013
commit
88b61d2686
@ -28,4 +28,16 @@ If you want to use some other location for the data directory than the default o
|
||||
|
||||
```
|
||||
export TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data
|
||||
```
|
||||
```
|
||||
|
||||
### Create a script to run with specific data directory
|
||||
|
||||
And alternative to globally setting environment variable is to run only the Trilium Notes with this environment variable. This then allows for different setup styles like two [[document]] instances or "portable" installation.
|
||||
|
||||
To do this in unix based systems simply run trilium like this:
|
||||
|
||||
```
|
||||
TRILIUM_DATA_DIR=/home/myuser/data/my-trilium-data trilium
|
||||
```
|
||||
|
||||
You can then save the above command as a shell script on your path for convenience.
|
Loading…
x
Reference in New Issue
Block a user