Mon, 08 Sep 2025 10:31:08 +0200
fix wrong lock setting in cmd_pull
|
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
1 | --- |
|
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
2 | title: 'Commands' |
|
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
3 | --- |
| 273 | 4 | |
| 5 | 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]. | |
| 6 | ||
| 7 | [1]: ./sync-configuration.html | |
| 8 | ||
| 9 | Common Commands | |
| 10 | --------------- | |
| 11 | ||
| 12 | Get resources from the server, which are modified since last sync: | |
| 13 | ||
|
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
14 | dav-sync pull <directory> |
| 273 | 15 | |
| 16 | Upload all locally modified resources: | |
| 17 | ||
|
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
273
diff
changeset
|
18 | dav-sync push <directory> |
| 273 | 19 | |
| 20 |