docs/src/sync-commands.md

Sun, 05 Jul 2020 11:47:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 05 Jul 2020 11:47:24 +0200
branch
feature/dav-edit
changeset 721
c401f4af44b1
parent 283
0e36bb75a732
permissions
-rw-r--r--

adds support for option terminator '--'

also adds support for option arguments within the same cmd arg
e.g. -omyoutfile does now work

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