Skip to content

Commit

Permalink
Complete Cyberduck information for custom versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassie205 committed Jun 28, 2024
1 parent 4dd2bd3 commit 3c90d64
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
24 changes: 23 additions & 1 deletion cyberduck/edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,33 @@ Set your preferred editor in *Preferences*. Select *Always use default editor* i

```{note}
Cyberduck 9.0 or later required
Only available for protocols without native versioning like FTP/SFTP, WebDAV, OpenStack Swift
```

Enable the custom versioning option in *Preferences → Editor* to store previous versions of a file. The versions can be previewed, deleted or restored in *Edit → Info → Versions*.

The versions are stored in a hidden folder named `.duckversions` in each folder on the mount.
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`

### Versions while transferring

Enable versioning for [overwriting](transfer.md#overwrite-prompt) existing files by using a [hidden configuration option](preferences.md#hidden-configuration-options).

versioning.enable=true

### Exclude files

Files can be excluded from versioning by using a [hidden configuration option](preferences.md#hidden-configuration-options).

versioning.include.regex=.*

### Number of saved versions

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.

The number of saved verions can be customized by using a [hidden configuration option](preferences.md#hidden-configuration-options).

Check failure on line 60 in cyberduck/edit.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

verions ==> versions

versioning.limit=5

## Hidden Preferences

Expand Down
8 changes: 8 additions & 0 deletions cyberduck/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ The following protocols support to view previous versions of files. Some protoc
Using [S3](../protocols/s3/index.md) or [Backblaze B2](../protocols/b2.md), versions will only be displayed if bucket versioning is enabled.
```

### Custom versioning

```{note}
Cyberduck 9.0 or later required
```

To keep versions for protocols without native versioning support like [FTP](../protocols/ftp.md), [SFTP](../protocols/sftp/index.md), [WebDAV](../protocols/webdav/index.md) or [OpenStack Swift](../protocols/openstack/index.md), enable the [custom versioning option](edit.md#versioning) in *Preferences → Editor*.

## UNIX Permissions

Change the permissions on a particular file or folder when connected to a [FTP](../protocols/ftp.md) or [SFTP](../protocols/sftp/index.md) server. You can also select multiple files in the browser to edit permissions. Click the checkboxes or enter the [octal notation](http://en.wikipedia.org/wiki/File_system_permissions#Symbolic_notation). The recursive options will update all files within a folder but will not change the executable bit for files if not already set when recursively updating a directory.
Expand Down

0 comments on commit 3c90d64

Please sign in to comment.