2 <html xmlns="http://www.w3.org/1999/xhtml"> |
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
3 <head> |
3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
5 <meta http-equiv="Content-Style-Type" content="text/css" /> |
6 <meta name="generator" content="pandoc" /> |
6 <meta name="generator" content="pandoc" /> |
7 <title></title> |
7 <title>dav-sync add-directory</title> |
8 <style type="text/css">code{white-space: pre;}</style> |
8 <style type="text/css">code{white-space: pre;}</style> |
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> |
9 <link rel="stylesheet" href="davdoc.css" type="text/css" /> |
10 </head> |
10 </head> |
11 <body> |
11 <body> |
12 <div class="header"> |
12 <div class="header"> |
62 </div> |
62 </div> |
63 </div> |
63 </div> |
64 |
64 |
65 <!-- begin content --> |
65 <!-- begin content --> |
66 <div class="content"> |
66 <div class="content"> |
67 <h1 id="dav-sync-add-directory">dav-sync add-directory</h1> |
67 <div id="header"> |
|
68 <h1 class="title">dav-sync add-directory</h1> |
|
69 </div> |
68 <p>This command runs an interactive assistant that creates a <a href="./sync-configuration.html">sync-directory configuration</a> and adds it to the sync.xml file. Before running this command, a repository must be created. See <a href="./add-repository.html">dav add-repository</a>.</p> |
70 <p>This command runs an interactive assistant that creates a <a href="./sync-configuration.html">sync-directory configuration</a> and adds it to the sync.xml file. Before running this command, a repository must be created. See <a href="./add-repository.html">dav add-repository</a>.</p> |
69 <p><strong>Command alias:</strong> add-dir</p> |
71 <p><strong>Command alias:</strong> add-dir</p> |
70 <p>The assistant firstly asks for a unique sync-directory name. This may not match the physical directory name. If you are not sure, which names are already in use, you can get a list of currently present sync-directories with <a href="./list-directories.html">dav-sync list-directories</a>. Then you specifiy the local path, select the dav repository and specify the collection within that repository. You may use environment variables like <code>$HOME</code> within the path name. A call of <code>add-directory</code> may look like this.</p> |
72 <p>The assistant firstly asks for a unique sync-directory name. This may not match the physical directory name. If you are not sure, which names are already in use, you can get a list of currently present sync-directories with <a href="./list-directories.html">dav-sync list-directories</a>. Then you specifiy the local path, select the dav repository and specify the collection within that repository. You may use environment variables like <code>$HOME</code> within the path name. A call of <code>add-directory</code> may look like this.</p> |
71 <pre><code>$ dav-sync add-directory |
73 <pre><code>$ dav-sync add-directory |
72 Each sync directory must have an unique name. |
74 Each sync directory must have an unique name. |