docs/src/set-tags.md

Thu, 06 Sep 2018 12:51:02 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 06 Sep 2018 12:51:02 +0200
branch
v1.2
changeset 468
4996f8953c3a
parent 428
b50ade8e7197
permissions
-rw-r--r--

dav 1.2.2 release

---
title: 'dav-sync add-tag'
---

**`dav-sync set-tags [-s <syncdir>] <file> [tags]`**

Sets all tags for 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.

If no tags are specified, all tags are removed from this file.

Tags must be enabled for the SyncDirectory. See [Configuration][1] for details.

**`-s <syncdir>`** SyncDirectory for this file

[1]: ./sync-configuration.html

mercurial