docs/src/add-tag.md

Wed, 24 Jul 2024 23:45:31 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 24 Jul 2024 23:45:31 +0200
changeset 826
b6e9fd3f1951
parent 409
90a6d6952d83
permissions
-rw-r--r--

fix dav add-repo crash in case .dav/config.xml doesn't exist

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