docs/src/add-tag.md

Sat, 28 Mar 2020 16:04:46 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 28 Mar 2020 16:04:46 +0100
branch
feature/dav-edit
changeset 711
8d40b5ccc43e
parent 409
90a6d6952d83
permissions
-rw-r--r--

adds check for encryption key (otherwise segfault when trying to create a fresh encrypted file without a key)

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

**`dav-sync add-tag [-s <syncdir>] <file> <tag>`**

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.

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

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

[1]: ./sync-configuration.html

mercurial