blob: 3c68953338bfda1c6067d4b628fbf8c95156f80c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
## Hidden folder
Dat stores its data in a hidden folder that is stored by default in the user's home directory.
```
~/.dat
```
Because of this, data is only ever downloaded once. That is, if you have multiple projects that use the same data (perhaps at different versions) on the same machine, dat will first check the global `.dat` folder to see if the data has already been downloaded before querying the network.
The global `.dat` folder has:
```
$ ls ~/.dat
db
config
```
`dat` will first check `/root/.dat` and then `~/.dat`. So, if you want to have the .dat available globally, move the folder to `/root/.dat`.
|