Sat, 12 Oct 2019 18:41:10 +0200
add test for testing transition from config without hashing to config with enabled hashing
283
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
1 | --- |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
2 | title: 'dav-sync pull' |
0e36bb75a732
adds dav-sync introduction and sync.xml documentation
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
282
diff
changeset
|
3 | --- |
273 | 4 | |
409
90a6d6952d83
adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
5 | **`dav-sync pull [-cldr] [-t <tags>] <directory>`** |
273 | 6 | |
7 | Pulls all changes from the server. All new or modified files are downloaded and all files deleted on the server are deleted locally. If a file is also locally modified and conflict detection is not disabled, the local file is renamed and an entry in the conflict database is added. | |
8 | ||
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
9 | When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory. |
273 | 10 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
11 | When backup-on-pull is enabled for the SyncDirectory, all files that would be overwritten are also moved to the trash. |
273 | 12 | |
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
13 | **`-c`** Disable conflict detection. This always overwrites locally modified files |
273 | 14 | |
15 | **`-l`** Lock the repository before accessing it. After `pull` completed, the repository is unlocked | |
16 | ||
282
3070d72f54af
more minor improvements to the documentation
Mike Becker <universe@uap-core.de>
parents:
273
diff
changeset
|
17 | **`-d`** Don't lock the repository (default) |
273 | 18 | |
409
90a6d6952d83
adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
19 | **`-t <tags>`** Only sync files that match the tag filter expression |
273 | 20 | |
409
90a6d6952d83
adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
21 | **`-r`** Delete files not matching the tag filter |
90a6d6952d83
adds documentation for new dav-sync features
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
285
diff
changeset
|
22 |