docs/src/sync-commands.md

Mon, 22 Apr 2019 12:54:31 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 22 Apr 2019 12:54:31 +0200
changeset 587
3c917df041b8
parent 283
0e36bb75a732
permissions
-rw-r--r--

add func for creating the content of crypto-prop properties

crypto-prop is a proposed property for storing encrypted properties
create_crypto_prop() is used to create a base64 encoded, encrypted xml document, containing properties

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