docs/src/sync-commands.md

Fri, 12 Apr 2019 11:13:16 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 12 Apr 2019 11:13:16 +0200
changeset 566
9a88920b15d8
parent 283
0e36bb75a732
permissions
-rw-r--r--

increase snyc_conflict counter only after conflict renaming, to make sure the counter is correct when pull is aborted

---
title: 'Commands'
---

All commands expect a `<directory>` argument, which is the identifer of a local directory that should be synchronized. The directory must be configured in sync.xml. See [Configuration][1].

[1]: ./sync-configuration.html

Common Commands
---------------

Get resources from the server, which are modified since last sync:

	dav-sync pull <directory>

Upload all locally modified resources:

	dav-sync push <directory>

mercurial