docs/src/add-tag.md

Sun, 17 Dec 2023 15:03:01 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 17 Dec 2023 15:03:01 +0100
changeset 798
d7f5067a27ce
parent 409
90a6d6952d83
permissions
-rw-r--r--

remove list_repositories() config.c function in favor of a cmd_list_repositories() function in main.c

409
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
1 ---
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
2 title: 'dav-sync add-tag'
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
3 ---
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
4
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
5 **`dav-sync add-tag [-s <syncdir>] <file> <tag>`**
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
6
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
7 Adds a tag to a SyncDirectory file. The *file* argument must be a normal file path. If multiple SyncDirectories contain this file, the SyncDirectory must be specified with the **`-s`** option.
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
8
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
9 Tags must be enabled for the SyncDirectory. See [Configuration][1] for details.
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
10
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
11 **`-s <syncdir>`** SyncDirectory for this file
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
12
90a6d6952d83 adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 408
diff changeset
13 [1]: ./sync-configuration.html

mercurial