docs/src/add-tag.md

Sun, 17 Dec 2023 15:33:50 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 17 Dec 2023 15:33:50 +0100
changeset 800
30d484806c2b
parent 409
90a6d6952d83
permissions
-rw-r--r--

fix faulty string to int conversion utilities

Probably it was expected that errno is set to EINVAL when illegal characters are encountered. But this is not standard and does not happen on every system, allowing illegal strings to be parsed as valid integers.

---
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