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 <h1 id="dav-sync-add-directory">dav-sync add-directory</h1> |
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> |
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> |
69 <p><strong>Command alias:</strong> add-dir</p> |
69 <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 may</code> look like this.</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> |
71 <pre><code>$ dav-sync add-directory |
71 <pre><code>$ dav-sync add-directory |
72 Each sync directory must have an unique name. |
72 Each sync directory must have an unique name. |
73 name: mysyncdir |
73 name: mysyncdir |
74 Enter local directory path. |
74 Enter local directory path. |
75 path: $HOME/important_files |
75 path: $HOME/important_files |