Skip to content

Commit fa9f2b1

Browse files
Cassie205dkocher
authored andcommitted
Add info for custom versioning Mountain Duck
1 parent 4fed377 commit fa9f2b1

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
Loading
Loading

mountainduck/versions.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,43 @@ Permanently delete a previous version of the selected file.
4343
### Preview
4444

4545
This will open a *Quick Look preview* on macOS or open the previous version of the file in the default application on Windows.
46+
47+
## Custom versioning
48+
49+
Enable the custom versioning option in *Preferences → Versions* to store previous versions of a file for protocols without native versioning. The versions can be previewed, deleted or restored in *Info → Versions*.
50+
51+
Select you preferred handling in case of sync conflicts with earlier changes. Choose between *Rename existing* and *Overwrite*.
52+
53+
```{image} _images/Preferences_Versions_macOS.png
54+
:alt: Preferences Versions (macOS)
55+
:width: 600px
56+
```
57+
58+
Alternatively, use the corresponding option in the bookmark configuration to enable or disable versioning for specific connections only.
59+
60+
```{image} _images/Bookmark_Versioning_macOS.png
61+
:alt: Bookmark Versioning
62+
:width: 400px
63+
```
64+
65+
The versions are stored in a hidden folder named `.duckversions` in each folder on the mount. The versions are named like the following pattern: `filename.extension → filename-20230906102017.762.extension`
66+
67+
### Versions while transferring
68+
69+
Versioning for [overwriting](transfer.md#overwrite-prompt) existing files while uploading can be enabled by using a [hidden configuration option](preferences.md#hidden-configuration-options).
70+
71+
versioning.enable=true
72+
73+
### Exclude files
74+
75+
To excluded files or file types from versioning use a [hidden configuration option](preferences.md#hidden-configuration-options).
76+
77+
versioning.include.regex=.*
78+
79+
### Number of saved versions
80+
81+
Per default, the number of saved versions is limited to 5. The oldest version will be deleted once a new version is uploaded exceeding the limit.
82+
83+
The number of saved verions can be customized by using a [hidden configuration option](preferences.md#hidden-configuration-options).
84+
85+
versioning.limit=5

0 commit comments

Comments
 (0)