1 ---
2 title: 'dav-sync add-tag'
3 ---
4
5 **`dav-sync set-tags [-s <syncdir>] <file> [tags]`**
6
7 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.
8
9 If no tags are specified, all tags are removed from this file.
10
11 Tags must be enabled for the SyncDirectory. See [Configuration][1] for details.
12
13 **`-s <syncdir>`** SyncDirectory for this file
14
15 [1]: ./sync-configuration.html
16