65 <!-- begin content --> |
65 <!-- begin content --> |
66 <div class="content"> |
66 <div class="content"> |
67 <div id="header"> |
67 <div id="header"> |
68 <h1 class="title">dav-sync pull</h1> |
68 <h1 class="title">dav-sync pull</h1> |
69 </div> |
69 </div> |
70 <p><strong><code>pull [-cld] <directory></code></strong></p> |
70 <p><strong><code>dav-sync pull [-cld] <directory></code></strong></p> |
71 <p>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.</p> |
71 <p>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.</p> |
72 <p>When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory.</p> |
72 <p>When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory.</p> |
73 <p>When backup-on-pull is enabled for the SyncDirectory, all files that would be overwritten are also moved to the trash.</p> |
73 <p>When backup-on-pull is enabled for the SyncDirectory, all files that would be overwritten are also moved to the trash.</p> |
74 <p><strong><code>-c</code></strong> Disable conflict detection. This always overwrites locally modified files</p> |
74 <p><strong><code>-c</code></strong> Disable conflict detection. This always overwrites locally modified files</p> |
75 <p><strong><code>-l</code></strong> Lock the repository before accessing it. After <code>pull</code> completed, the repository is unlocked</p> |
75 <p><strong><code>-l</code></strong> Lock the repository before accessing it. After <code>pull</code> completed, the repository is unlocked</p> |