this could be the 1.2 release v1.2.0

Sun, 24 Jun 2018 12:18:12 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 24 Jun 2018 12:18:12 +0200
changeset 429
1607450065ba
parent 428
b50ade8e7197
child 430
b7e415d8bcdd
child 450
cf98e5691309

this could be the 1.2 release

CHANGELOG file | annotate | diff | comparison | revisions
README file | annotate | diff | comparison | revisions
bsd.mk file | annotate | diff | comparison | revisions
clang.mk file | annotate | diff | comparison | revisions
dav/version.h file | annotate | diff | comparison | revisions
docs/html/add-directory.html file | annotate | diff | comparison | revisions
docs/html/add-repository.html file | annotate | diff | comparison | revisions
docs/html/add-tag.html file | annotate | diff | comparison | revisions
docs/html/archive.html file | annotate | diff | comparison | revisions
docs/html/check-config.html file | annotate | diff | comparison | revisions
docs/html/check-repositories.html file | annotate | diff | comparison | revisions
docs/html/commands.html file | annotate | diff | comparison | revisions
docs/html/configuration.html file | annotate | diff | comparison | revisions
docs/html/copy.html file | annotate | diff | comparison | revisions
docs/html/date.html file | annotate | diff | comparison | revisions
docs/html/delete-conflicts.html file | annotate | diff | comparison | revisions
docs/html/empty-trash.html file | annotate | diff | comparison | revisions
docs/html/encryption.html file | annotate | diff | comparison | revisions
docs/html/export.html file | annotate | diff | comparison | revisions
docs/html/get-property.html file | annotate | diff | comparison | revisions
docs/html/get.html file | annotate | diff | comparison | revisions
docs/html/getting-started.html file | annotate | diff | comparison | revisions
docs/html/import.html file | annotate | diff | comparison | revisions
docs/html/index.html file | annotate | diff | comparison | revisions
docs/html/info.html file | annotate | diff | comparison | revisions
docs/html/introduction.html file | annotate | diff | comparison | revisions
docs/html/list-directories.html file | annotate | diff | comparison | revisions
docs/html/list-repositories.html file | annotate | diff | comparison | revisions
docs/html/list-tags.html file | annotate | diff | comparison | revisions
docs/html/list.html file | annotate | diff | comparison | revisions
docs/html/lock.html file | annotate | diff | comparison | revisions
docs/html/mkdir.html file | annotate | diff | comparison | revisions
docs/html/move.html file | annotate | diff | comparison | revisions
docs/html/pull.html file | annotate | diff | comparison | revisions
docs/html/push.html file | annotate | diff | comparison | revisions
docs/html/put.html file | annotate | diff | comparison | revisions
docs/html/remove-property.html file | annotate | diff | comparison | revisions
docs/html/remove-repository.html file | annotate | diff | comparison | revisions
docs/html/remove-tag.html file | annotate | diff | comparison | revisions
docs/html/remove.html file | annotate | diff | comparison | revisions
docs/html/resolve-conflicts.html file | annotate | diff | comparison | revisions
docs/html/set-property.html file | annotate | diff | comparison | revisions
docs/html/set-tags.html file | annotate | diff | comparison | revisions
docs/html/sync-check-config.html file | annotate | diff | comparison | revisions
docs/html/sync-commands.html file | annotate | diff | comparison | revisions
docs/html/sync-configuration.html file | annotate | diff | comparison | revisions
docs/html/trash-info.html file | annotate | diff | comparison | revisions
docs/html/unlock.html file | annotate | diff | comparison | revisions
gcc.mk file | annotate | diff | comparison | revisions
mingw.mk file | annotate | diff | comparison | revisions
osx.mk file | annotate | diff | comparison | revisions
suncc.mk file | annotate | diff | comparison | revisions
--- a/CHANGELOG	Sun Jun 24 11:51:07 2018 +0200
+++ b/CHANGELOG	Sun Jun 24 12:18:12 2018 +0200
@@ -1,6 +1,32 @@
 Changelog
 =========
 
+version 1.2.0 (2018-06-24)
+--------------------------
+
+ - added support for xml properties
+ - added dav get option to keep existing files
+ - added config option to disable some commands in dav-sync for specific syncdirs
+ - added dav import/export commands
+ - added authprompt to copy/move commands
+ - added remove-repository and repository-url commands
+ - added support for file tags in dav-sync
+ - added full macos support
+ - added support for utf8 file names on windows
+ - improved error messages
+ - improved code quality
+ - fixed that dav was fundamentally broken on some platforms because of a vaarg misuse
+ - fixed that dav-sync could not overwrite files on windows
+ - fixed bsd config
+ - fixed wrong path output in get command
+ - fixed infinite loop when trying to overwrite a collection with a regular file
+ - fixed segfault in put command, when encryption is requsted but no key is specified
+
+version 1.1.1 (2017-12-12)
+--------------------------
+
+ - fixed dav get and list with -R option on windows (and possibly other platforms)
+
 version 1.1.0 (2017-10-07)
 --------------------------
 
--- a/README	Sun Jun 24 11:51:07 2018 +0200
+++ b/README	Sun Jun 24 12:18:12 2018 +0200
@@ -68,7 +68,7 @@
 License
 -------
 
-Copyright 2017 Olaf Wintermann. All rights reserved.
+Copyright 2018 Olaf Wintermann. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
--- a/bsd.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/bsd.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -c -D_FILE_OFFSET_BITS=64
+CFLAGS  = -O2 -c -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/clang.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/clang.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -c -D_FILE_OFFSET_BITS=64
+CFLAGS  = -O2 -c -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/dav/version.h	Sun Jun 24 11:51:07 2018 +0200
+++ b/dav/version.h	Sun Jun 24 12:18:12 2018 +0200
@@ -27,6 +27,6 @@
  */
 
 #ifndef DAV_VERSION
-#define DAV_VERSION "1.2 RC4"
+#define DAV_VERSION "1.2"
 #endif
 
--- a/docs/html/add-directory.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/add-directory.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/add-repository.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/add-repository.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/add-tag.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav-sync add-tag</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav-sync add-tag</h1>
+</div>
+<p><strong><code>dav-sync add-tag [-s &lt;syncdir&gt;] &lt;file&gt; &lt;tag&gt;</code></strong></p>
+<p>Adds a tag to a SyncDirectory file. The <em>file</em> argument must be a normal file path. If multiple SyncDirectories contain this file, the SyncDirectory must be specified with the <strong><code>-s</code></strong> option.</p>
+<p>Tags must be enabled for the SyncDirectory. See <a href="./sync-configuration.html">Configuration</a> for details.</p>
+<p><strong><code>-s &lt;syncdir&gt;</code></strong> SyncDirectory for this file</p>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/archive.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/archive.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -69,12 +76,13 @@
 <div id="header">
 <h1 class="title">dav-sync archive</h1>
 </div>
-<p><strong><code>dav-sync archive [-cld] &lt;directory&gt;</code></strong></p>
+<p><strong><code>dav-sync archive [-cld] [-t &lt;tags&gt;] &lt;directory&gt;</code></strong></p>
 <p>Uploads all new and modified files to the server. The command is similar to the push command, however it does not delete files on the server.</p>
 <p>If conflict detection is not disabled, all files that are also modified on the server will be skipped.</p>
 <p><strong><code>-c</code></strong> Disable conflict detection. This always overwrites files on the server</p>
 <p><strong><code>-l</code></strong> Lock the repository before accessing it. After <code>archive</code> completed, the repository is unlocked</p>
 <p><strong><code>-d</code></strong> Don't lock the repository (default)</p>
+<p><strong><code>-t &lt;tags&gt;</code></strong> Only sync files that match the tag filter expression</p>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/check-config.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/check-config.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/check-repositories.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/check-repositories.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/commands.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/commands.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/configuration.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/configuration.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/copy.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/copy.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -73,7 +80,7 @@
 <p>Creates a duplicate of the resource identified by <em>url1</em> at the location <em>url2</em>. All resource properties are copied. Currently <em>url1</em> and <em>url2</em> must be the same host.</p>
 <p>If <em>url1</em> is a collection, all children are copied.</p>
 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p>
-<p>The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy and encrypted resource. Please note that the copy will always be located at <em>url2</em>, so the top most collection name will not be disguised. See <a href="./encryption.html">encryption</a> for more details on how encryption works.</p>
+<p>The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy an encrypted resource. Please note that the copy will always be located at <em>url2</em>, so the top most collection name will not be disguised. See <a href="./encryption.html">encryption</a> for more details on how encryption works.</p>
 <p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p>
 <p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p>
 <p><strong><code>-O</code></strong> overwrite the destination resource</p>
--- a/docs/html/date.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/date.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/delete-conflicts.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/delete-conflicts.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/empty-trash.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/empty-trash.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/encryption.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/encryption.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/export.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,92 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav export</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav export</h1>
+</div>
+<p><strong><code>dav export [-pc] [-o &lt;file&gt;] [-u &lt;date&gt;] &lt;url&gt;</code></strong></p>
+<p>Downloads a resource or a collection with all child resources, and writes the contents to an archive file. The Output is written to stdout, unless the <strong><code>-o</code></strong> option is used.</p>
+<p>Currently the only available archive format is the ustar format.</p>
+<p>These archive files can be uploaded to an collection with the <a href="./import.html">dav import</a> command.</p>
+<p><strong><code>-p</code></strong> disable file name and content decryption. You get exactly what is stored on the server.</p>
+<p><strong><code>-c</code></strong> enable file name and content decryption</p>
+<p><strong><code>-o &lt;file&gt;</code></strong> specify the local output file. A <strong>-</strong> indicates stdout</p>
+<p><strong><code>-u &lt;date&gt;</code></strong> download only files which are modified since the specified date. Uses the HTTP date format</p>
+<h3 id="example-create-tar-file-from-collection">Example: create tar file from collection</h3>
+<pre><code>$ dav export -o collection.tar myserv/col/</code></pre>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/get-property.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/get-property.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -69,8 +76,10 @@
 <div id="header">
 <h1 class="title">dav get-property</h1>
 </div>
-<p><strong><code>dav get-property [-pc] [-n &lt;uri&gt;] &lt;url&gt; &lt;property&gt;</code></strong></p>
+<p><strong><code>dav get-property [-pcx] [-n &lt;uri&gt;] &lt;url&gt; &lt;property&gt;</code></strong></p>
 <p>Gets a specific resource property. Every WebDAV property has a name and an XML namespace. A namespace can be specified with the <code>-n</code> option or with a prefixed name. The prefix and property name are separated by a <strong>:</strong> as usual.</p>
+<p>If the <strong><code>-x</code></strong> option is specified, a valid xml document containing the value is printed on stdout.</p>
+<p>If the property contains xml data and the <strong><code>-x</code></strong> option is not specified, the value is printed on stderr in an xml-like format.</p>
 <p>Example: <code>D:creationdate</code></p>
 <p><code>D</code> is the prefix, <code>creationdate</code> is the name.</p>
 <p>There are only two available prefixes by default:</p>
@@ -82,8 +91,13 @@
 <p>If the property name has no prefix, and no namespace is specified, the default namespace <code>DAV:</code> is used.</p>
 <p><strong><code>-p</code></strong> disable file name and path decryption if enabled</p>
 <p><strong><code>-c</code></strong> enable file name and path decryption</p>
+<p><strong><code>-x</code></strong> prints property as xml</p>
 <p><strong><code>-n &lt;uri&gt;</code></strong> specify property namespace</p>
 <p><strong>Note:</strong> Properties are never encrypted.</p>
+<h3 id="example-xml-property">Example: xml property</h3>
+<pre><code>$ dav get-property -x myserv/collection/ resourcetype
+&lt;?xml version=&quot;1.0&quot;?&gt;
+&lt;x0:resourcetype xmlns:x0=&quot;DAV:&quot;&gt;&lt;x0:collection /&gt;&lt;/x0:resourcetype&gt;</code></pre>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/get.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/get.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -69,11 +76,12 @@
 <div id="header">
 <h1 class="title">dav get</h1>
 </div>
-<p><strong><code>dav get [-pcR] [-o &lt;file&gt;] [-u &lt;date&gt;] &lt;url&gt;</code></strong></p>
+<p><strong><code>dav get [-pcRK] [-o &lt;file&gt;] [-u &lt;date&gt;] &lt;url&gt;</code></strong></p>
 <p>Downloads a resource. This command also downloads collections and its child resources when the <strong><code>-R</code></strong> option is used. When downloading a single resource, the default local file name is the resource name. When downloading collections, it does <strong>not</strong> create a local directory with the collection's name and places its children in there, but it downloads the children directly to the current working directory.</p>
 <p><strong><code>-p</code></strong> disable file name and content decryption. You get exactly what is stored on the server.</p>
 <p><strong><code>-c</code></strong> enable file name and content decryption</p>
 <p><strong><code>-R</code></strong> download a collection</p>
+<p><strong><code>-K</code></strong> download only files that don't exist locally</p>
 <p><strong><code>-o &lt;file&gt;</code></strong> specify the local output file. A <strong>-</strong> indicates stdout</p>
 <p><strong><code>-u &lt;date&gt;</code></strong> download only files which are modified since the specified date. Uses the HTTP date format</p>
 </div>
--- a/docs/html/getting-started.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/getting-started.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/import.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,101 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav import</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav import</h1>
+</div>
+<p><strong><code>dav import [-pc] [-k &lt;key&gt;] [-L &lt;lock&gt;] &lt;url&gt; &lt;file&gt;</code></strong></p>
+<p>Uploads the content of an archive file to a collection. If the url points to a non-existing collection, the collection is created.</p>
+<p>Currently the only available archive format is the ustar format. You can use tools like <em>tar</em> or the <a href="./export.html">dav export</a> command to create such archives.</p>
+<p><strong><code>-p</code></strong> disable file name encryption and decryption</p>
+<p><strong><code>-c</code></strong> enable file name and content encryption</p>
+<p><strong><code>-R</code></strong> upload directory</p>
+<p><strong><code>-k &lt;key&gt;</code></strong> use the specified key for encryption. The key must be configured in the config.xml file</p>
+<p><strong><code>-L &lt;lock&gt;</code></strong> use a lock token. See <a href="./lock.html">dav lock</a></p>
+<h3 id="example-create-tar-archive-with-gnu-tar-and-import-it-to-a-collection">Example: create tar archive with GNU tar and import it to a collection</h3>
+<pre><code>$ tar cvf archive.tar --format=ustar mydir
+mydir/
+mydir/file.txt
+mydir/otherfile
+mydir/newfile
+$ dav import myserv/col/ archive.tar
+mkcol: mydir/
+mydir: SRC/file.txt
+mydir: SRC/otherfile
+mydir: SRC/newfile</code></pre>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/index.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/index.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,13 +26,17 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
 						<li><a href="lock.html">lock</a></li>
 						<li><a href="unlock.html">unlock</a></li>
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -48,10 +52,15 @@
 					<ul>
 						<li><a href="pull.html">pull</a></li>
 						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
 						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -74,7 +83,7 @@
 <p>Mike Becker</p>
 
 <h3>License</h3>
-<pre></code>Copyright 2017 Olaf Wintermann. All rights reserved.
+<pre></code>Copyright 2018 Olaf Wintermann. All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
--- a/docs/html/info.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/info.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/introduction.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/introduction.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/list-directories.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/list-directories.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/list-repositories.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/list-repositories.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/list-tags.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav-sync add-tag</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav-sync add-tag</h1>
+</div>
+<p><strong><code>dav-sync list-tags [-s &lt;syncdir&gt;] &lt;file&gt;</code></strong></p>
+<p>Lists all file tags.</p>
+<p>Tags must be enabled for the SyncDirectory. See <a href="./sync-configuration.html">Configuration</a> for details.</p>
+<p><strong><code>-s &lt;syncdir&gt;</code></strong> SyncDirectory for this file</p>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/list.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/list.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/lock.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/lock.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/mkdir.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/mkdir.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/move.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/move.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -72,7 +79,7 @@
 <p><strong><code>dav move [-pcO] [-L &lt;lock&gt;] &lt;url&gt; &lt;url&gt;</code></strong></p>
 <p>Moves the resource identified by <em>url1</em> to the location <em>url2</em>. Currently <em>url1</em> and <em>url2</em> must be on the same host.</p>
 <p>If <em>url2</em> already exists, the command aborts, unless the <code>-O</code> option is specified.</p>
-<p>The command uses a single WebDAV MOVE request to move the resources. You may use file name and path decryption to copy and encrypted resource. Please note that the target location will be exactly <em>url2</em>, so the top most collection name will not be disguised. See [encryption][2] for more details on how encryption works.</p>
+<p>The command uses a single WebDAV MOVE request to move the resources. You may use file name and path decryption to copy an encrypted resource. Please note that the target location will be exactly <em>url2</em>, so the top most collection name will not be disguised. See [encryption][2] for more details on how encryption works.</p>
 <p><strong><code>-p</code></strong> disable file name and path decryption for <em>url1</em></p>
 <p><strong><code>-c</code></strong> enable file name and path decryption for <em>url1</em></p>
 <p><strong><code>-O</code></strong> overwrite the destination resource</p>
--- a/docs/html/pull.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/pull.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -69,13 +76,15 @@
 <div id="header">
 <h1 class="title">dav-sync pull</h1>
 </div>
-<p><strong><code>dav-sync pull [-cld] &lt;directory&gt;</code></strong></p>
+<p><strong><code>dav-sync pull [-cldr] [-t &lt;tags&gt;] &lt;directory&gt;</code></strong></p>
 <p>Pulls all changes from the server. All new or modified files are downloaded and all files deleted on the server are deleted locally. If a file is also locally modified and conflict detection is not disabled, the local file is renamed and an entry in the conflict database is added.</p>
 <p>When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory.</p>
 <p>When backup-on-pull is enabled for the SyncDirectory, all files that would be overwritten are also moved to the trash.</p>
 <p><strong><code>-c</code></strong> Disable conflict detection. This always overwrites locally modified files</p>
 <p><strong><code>-l</code></strong> Lock the repository before accessing it. After <code>pull</code> completed, the repository is unlocked</p>
 <p><strong><code>-d</code></strong> Don't lock the repository (default)</p>
+<p><strong><code>-t &lt;tags&gt;</code></strong> Only sync files that match the tag filter expression</p>
+<p><strong><code>-r</code></strong> Delete files not matching the tag filter</p>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/push.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/push.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -69,12 +76,14 @@
 <div id="header">
 <h1 class="title">dav-sync push</h1>
 </div>
-<p><strong><code>dav-sync push [-cld] &lt;directory&gt;</code></strong></p>
+<p><strong><code>dav-sync push [-cldr] [-t &lt;tags&gt;] &lt;directory&gt;</code></strong></p>
 <p>Pushes all local changes to the server. This uploads all locally modified files and deletes all locally deleted files on the server.</p>
 <p>If conflict detection is not disabled, all files that are also modified on the server will be skipped.</p>
 <p><strong><code>-c</code></strong> Disable conflict detection. This always overwrites files on the server</p>
 <p><strong><code>-l</code></strong> Lock the repository before accessing it. After <code>push</code> completed, the repository is unlocked</p>
 <p><strong><code>-d</code></strong> Don't lock the repository (default)</p>
+<p><strong><code>-t &lt;tags&gt;</code></strong> Only sync files that match the tag filter expression</p>
+<p><strong><code>-r</code></strong> Remove resources not matching the tag filter</p>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/put.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/put.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/remove-property.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/remove-property.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/remove-repository.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,85 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav remove-repository</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav remove-repository</h1>
+</div>
+<p><strong><code>dav remove-repository &lt;reponame&gt;</code></strong></p>
+<p>This command removes a repository from the config.xml file.</p>
+<p><strong>Command alias:</strong> remove-repo, rm-repo</p>
+</div>
+<!-- end content -->
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/remove-tag.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,86 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav-sync add-tag</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav-sync add-tag</h1>
+</div>
+<p><strong><code>dav-sync remove-tag [-s &lt;syncdir&gt;] &lt;file&gt; &lt;tag&gt;</code></strong></p>
+<p>Removes a tag from a SyncDirectory file.</p>
+<p>Tags must be enabled for the SyncDirectory. See <a href="./sync-configuration.html">Configuration</a> for details.</p>
+<p><strong><code>-s &lt;syncdir&gt;</code></strong> SyncDirectory for this file</p>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/remove.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/remove.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/resolve-conflicts.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/resolve-conflicts.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/set-property.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/set-property.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -72,9 +79,11 @@
 <p><strong><code>dav set-property [-pc] [-L &lt;lock&gt;] [-n &lt;uri&gt;] &lt;url&gt; &lt;property&gt; [value]</code></strong></p>
 <p>Sets a resource property to the specified value.</p>
 <p><em>property</em> is a property name with or without prefix (see <a href="./get-property.html">get-property</a> for details).</p>
+<p>To store an xml value, use the <strong><code>-x</code></strong> option. The specified value must be a valid xml document. All nodes below the root element are stored as the property value.</p>
 <p>If no value is specified, the content for the property is read from stdin.</p>
 <p><strong><code>-p</code></strong> disable file name and path decryption if enabled</p>
 <p><strong><code>-c</code></strong> enable file name and path decryption</p>
+<p><strong><code>-x</code></strong> store an xml value</p>
 <p><strong><code>-L &lt;lock&gt;</code></strong> use a lock token. See <a href="./get-property.html">dav lock</a></p>
 <p><strong><code>-n &lt;uri&gt;</code></strong> specify property namespace</p>
 <p><strong>Note:</strong> Properties are never encrypted.</p>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/html/set-tags.html	Sun Jun 24 12:18:12 2018 +0200
@@ -0,0 +1,87 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <meta http-equiv="Content-Style-Type" content="text/css" />
+  <meta name="generator" content="pandoc" />
+  <title>dav-sync add-tag</title>
+  <style type="text/css">code{white-space: pre;}</style>
+  <link rel="stylesheet" href="davdoc.css" type="text/css" />
+</head>
+<body>
+<div class="header">
+	<a href="./index.html"><span>DavUtils documentation</span></a>
+</div>
+<div class="sidebar">
+	<div class="nav">
+		<h3>dav</h3>
+			<ul>
+				<li><a href="getting-started.html">Getting started</a></li>
+				<li><a href="commands.html">Commands</a></li>
+					<ul>
+						<li><a href="list.html">list</a></li>
+						<li><a href="get.html">get</a></li>
+						<li><a href="put.html">put</a></li>
+						<li><a href="mkdir.html">mkdir</a></li>
+						<li><a href="remove.html">remove</a></li>
+						<li><a href="copy.html">copy</a></li>
+						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
+						<li><a href="get-property.html">get-property</a></li>
+						<li><a href="set-property.html">set-property</a></li>
+						<li><a href="remove-property.html">remove-property</a></li>
+						<li><a href="lock.html">lock</a></li>
+						<li><a href="unlock.html">unlock</a></li>
+						<li><a href="info.html">info</a></li>
+						<li><a href="date.html">date</a></li>
+						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
+						<li><a href="list-repositories.html">list-repositories</a></li>
+						<li><a href="check-config.html">check-config</a></li>
+					</ul>
+				<li><a href="configuration.html">Configuration</a></li>
+				<li><a href="encryption.html">Encryption</a></li>
+			</ul>
+	</div>
+	<div class="nav">
+		<h3>dav-sync</h3>
+			<ul>
+				<li><a href="introduction.html">Introduction</a></li>
+				<li><a href="sync-commands.html">Commands</a></li>
+					<ul>
+						<li><a href="pull.html">pull</a></li>
+						<li><a href="push.html">push</a></li>
+						<li><a href="archive.html">archive</a></li>
+						<li><a href="resolve-conflicts.html">resolve-conflicts</a></li>
+						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
+						<li><a href="trash-info.html">trash-info</a></li>
+						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
+						<li><a href="add-directory.html">add-directory</a></li>
+						<li><a href="list-directories.html">list-directories</a></li>
+						<li><a href="sync-check-config.html">check-config</a></li>
+						<li><a href="check-repositories.html">check-repositories</a></li>
+					</ul>
+				<li><a href="sync-configuration.html">Configuration</a></li>
+			</ul>
+	</div>
+</div>
+
+<!-- begin content -->
+<div class="content">
+<div id="header">
+<h1 class="title">dav-sync add-tag</h1>
+</div>
+<p><strong><code>dav-sync set-tags [-s &lt;syncdir&gt;] &lt;file&gt; [tags]</code></strong></p>
+<p>Sets all tags for a SyncDirectory file. The <em>file</em> argument must be a normal file path. If multiple SyncDirectories contain this file, the SyncDirectory must be specified with the <strong><code>-s</code></strong> option.</p>
+<p>If no tags are specified, all tags are removed from this file.</p>
+<p>Tags must be enabled for the SyncDirectory. See <a href="./sync-configuration.html">Configuration</a> for details.</p>
+<p><strong><code>-s &lt;syncdir&gt;</code></strong> SyncDirectory for this file</p>
+</div>
+<!-- end content -->
+</body>
+</html>
--- a/docs/html/sync-check-config.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/sync-check-config.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/sync-commands.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/sync-commands.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/sync-configuration.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/sync-configuration.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
@@ -127,10 +134,35 @@
 <p>Type: integer<br />
 Default: 0<br />
 Example: <code>&lt;lock-timeout&gt;50&lt;/lock-timeout&gt;</code></p>
+<h3 id="tagconfig">tagconfig</h3>
+<p>Configures the local store for resource tags. If this element is specified, resource tags are stored locally.</p>
+<p>Optional elements: local-store, detect-changes, xattr-name, on-conflict</p>
+<h3 id="local-store">local-store</h3>
+<p>Specifies the tag-store type. Currently the only available type is <code>xattr</code>.</p>
+<p>The element can contain the attribute <code>format</code> with one of the following values: <code>text</code>, <code>csv</code>, <code>xml</code>, <code>macos</code>. The default value is <code>text</code>.</p>
+<p>Type: tagstore type enum<br />
+Default: xattr<br />
+Example: <code>&lt;local-store format=&quot;csv&quot;&gt;xattr&lt;/local-store&gt;</code></p>
+<h3 id="xattr-name">xattr-name</h3>
+<p>Specifies the name of the extended attribute for storing tags. The default value is <code>tags</code>, unless you are using the <code>macos</code> format, where the default value is <code>com.apple.metadata:_kMDItemUserTags</code>.</p>
+<p>Type: string<br />
+Default: tags<br />
+Example: `<xattr-name>file_tags</xattr-name></p>
+<h3 id="detect-changes">detect-changes</h3>
+<p>Controls, if tag changes should be detected.</p>
+<p>Type: boolean<br />
+Default: false<br />
+Example: <code>&lt;detect-changes&gt;true&lt;/detect-changes&gt;</code></p>
+<h3 id="on-conflict">on-conflict</h3>
+<p>Specifies the behavior, when tag conflicts occur. Possible values are: <code>no_conflict</code>, <code>keep_local</code>, <code>keep_remote</code>, <code>merge</code></p>
+<p>Type: onconflict enum<br />
+Default: no_conflict<br />
+Example: <code>&lt;on-conflict&gt;merge&lt;/on-conflict&gt;</code></p>
 <h3 id="filter">filter</h3>
-<p>With the filter element, include and exclude filters can be specified, to control which files are synchronized. The <em>pull</em> and <em>push</em> command apply these filters to file paths. At first it is checked if a file is matching any include filter. If so only files matching not an exclude filter are further processed.</p>
+<p>With the filter element, include and exclude filters can be specified, to control which files are synchronized. The <em>pull</em>, <em>push</em> and <em>archive</em> command apply these filters to file paths. At first it is checked if a file is matching any include filter. If so only files matching not an exclude filter are further processed.</p>
+<p>It is also possible to filter resources by tags. Tags can dynamically be applied to individual files. The tag filter elements contains a tag filter expression. Only files that match the filter expression are synchronized.</p>
 <p>Note: The file path is relative to the directory path (and WebDAV collection) but always starts with an path separator.</p>
-<p>Optional elements: <code>&lt;include&gt;</code>, <code>&lt;exclude&gt;</code></p>
+<p>Optional elements: <code>&lt;include&gt;</code>, <code>&lt;exclude&gt;</code>, <code>&lt;tags&gt;</code></p>
 <h3 id="include">include</h3>
 <p>Controls which files will be included by <em>pull</em> and <em>push</em>. If an include filter is specified, only files matching this filter are included.</p>
 <p>Type: regex string<br />
@@ -147,6 +179,18 @@
     &lt;exclude&gt;^/secretdir&lt;/exclude&gt;
     &lt;exclude&gt;\.DS_Store$&lt;/exclude&gt;
 &lt;/filter&gt;</code></pre>
+<h3 id="tags">tags</h3>
+<p>Filters resources by tags. Only resources, that are not a collection, are effected. If tags are not stored locally, the pull command still uses the filter.</p>
+<p>Filter Syntax:</p>
+<pre><code>filter ::= operator? , (tag_list | (&quot;(&quot; , filter , &quot;)&quot;)+)
+tag_list ::= tag , (&quot;,&quot; tag)*
+operator ::= &quot;&amp;&quot; | &quot;|&quot; | &quot;1&quot; | &quot;0&quot;</code></pre>
+<p>Type: tag filter expression<br />
+Example:</p>
+<pre><code>&lt;filter&gt;
+    &lt;!-- sync only resources that have one of this tags --&gt;
+    &lt;tags&gt;| (tag1, tag2, tag3)&lt;/tags&gt;
+&lt;/filter&gt;</code></pre>
 </div>
 <!-- end content -->
 </body>
--- a/docs/html/trash-info.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/trash-info.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/docs/html/unlock.html	Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/unlock.html	Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
 						<li><a href="remove.html">remove</a></li>
 						<li><a href="copy.html">copy</a></li>
 						<li><a href="move.html">move</a></li>
+						<li><a href="export.html">export</a></li>
+						<li><a href="import.html">import</a></li>
 						<li><a href="get-property.html">get-property</a></li>
 						<li><a href="set-property.html">set-property</a></li>
 						<li><a href="remove-property.html">remove-property</a></li>
@@ -34,6 +36,7 @@
 						<li><a href="info.html">info</a></li>
 						<li><a href="date.html">date</a></li>
 						<li><a href="add-repository.html">add-repository</a></li>
+						<li><a href="remove-repository.html">remove-repository</a></li>
 						<li><a href="list-repositories.html">list-repositories</a></li>
 						<li><a href="check-config.html">check-config</a></li>
 					</ul>
@@ -54,6 +57,10 @@
 						<li><a href="delete-conflicts.html">delete-conflicts</a></li>
 						<li><a href="trash-info.html">trash-info</a></li>
 						<li><a href="empty-trash.html">empty-trash</a></li>
+						<li><a href="add-tag.html">add-tag</a></li>
+						<li><a href="remove-tag.html">remove-tag</a></li>
+						<li><a href="set-tags.html">set-tags</a></li>
+						<li><a href="list-tags.html">list-tags</a></li>
 						<li><a href="add-directory.html">add-directory</a></li>
 						<li><a href="list-directories.html">list-directories</a></li>
 						<li><a href="sync-check-config.html">check-config</a></li>
--- a/gcc.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/gcc.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -std=gnu99 -g -c -D_FILE_OFFSET_BITS=64
+CFLAGS  = -std=gnu99 -O2 -c -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/mingw.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/mingw.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -std=gnu99 -g -c 
+CFLAGS  = -std=gnu99 -O2 -c 
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/osx.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/osx.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -c -Wno-deprecated -Wno-format
+CFLAGS  = -O2 -c -Wno-deprecated -Wno-format
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/suncc.mk	Sun Jun 24 11:51:07 2018 +0200
+++ b/suncc.mk	Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  =  -g -c -xc99 -D_FILE_OFFSET_BITS=64
+CFLAGS  =  -O2 -c -xc99 -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = -lmd -lm
 LOFLAGS = -o

mercurial