docs/src/sync-commands.md

Fri, 06 Dec 2019 09:24:45 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 06 Dec 2019 09:24:45 +0100
changeset 693
8ca795c1ae1c
parent 283
0e36bb75a732
permissions
-rw-r--r--

add -s option to dav-sync usage output

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