docs/src/add-directory.md

changeset 276
20a176d5a53e
parent 275
fa48ab29abd2
child 283
0e36bb75a732
equal deleted inserted replaced
275:fa48ab29abd2 276:20a176d5a53e
12 The assistant firstly asks for a unique sync-directory name. 12 The assistant firstly asks for a unique sync-directory name.
13 This may not match the physical directory name. 13 This may not match the physical directory name.
14 If you are not sure, which names are already in use, you can get a list of currently present sync-directories with [dav-sync list-directories][3]. 14 If you are not sure, which names are already in use, you can get a list of currently present sync-directories with [dav-sync list-directories][3].
15 Then you specifiy the local path, select the dav repository and specify the collection within that repository. 15 Then you specifiy the local path, select the dav repository and specify the collection within that repository.
16 You may use environment variables like `$HOME` within the path name. 16 You may use environment variables like `$HOME` within the path name.
17 A call of `add-directory may` look like this. 17 A call of `add-directory` may look like this.
18 18
19 $ dav-sync add-directory 19 $ dav-sync add-directory
20 Each sync directory must have an unique name. 20 Each sync directory must have an unique name.
21 name: mysyncdir 21 name: mysyncdir
22 Enter local directory path. 22 Enter local directory path.
26 1) anotherrepo 26 1) anotherrepo
27 repository: 0 27 repository: 0
28 Enter collection relative to the repository base url. 28 Enter collection relative to the repository base url.
29 collection (default: /): /important_files 29 collection (default: /): /important_files
30 30
31 Assume `myfirstrepo` points to `https://mynas.local/`. 31 Assume `myfirstrepo` points to `https://mynas.local/webdav`.
32 Then `dav-sync` would synchronize `$HOME/important_files/` with `https://mynas.local/important_files`. 32 Then `dav-sync` would synchronize `$HOME/important_files/` with `https://mynas.local/webdav/important_files`.
33 33
34 34
35 [3]: ./list-directories.html 35 [3]: ./list-directories.html
36 36

mercurial