dav-sync add-directory
-This command runs an interactive assistant that creates a sync-directory configuration and adds it to the sync.xml file. Before running this command, a repository must be created. See dav add-repository.
Command alias: add-dir
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 dav-sync list-directories. Then you specifiy the local path, select the dav repository and specify the collection within that repository. You may use environment variables like $HOME
within the path name. A call of add-directory
may look like this.