Recompute hashes
Recompute files unique hashes (using Cells custom algorithm).
This flow can be used to compute (or recompute) files hashes inside a specific folder.
Usage¶
It was primarily introduced in version 4 to attach a new hash signature to files x-cells-hash
metadata. This new algorithm (Cells Internal
) was introduced to provide a consistent hashing through the whole application, whatever the upload method (direct PUT, Multipart), the encryption mechanism and the datasource storage.
Apart from this x-cells-hash
format, The "Compute Hash" action can also be used to compute common hashes and attach them to any metadata. Supported algorithm are md4
, md5
, sha1
, sha256
, sha512
.
How It Works¶
This Flow is a good demonstration of the "Merge Action" mechanism, that allows running many tasks in parallel, and wait for all of them to be finished before going to next step. In that case, the hash of many files are computed in parallel. The number of actually running tasks is defined by the job "Max. Parallel Task" shown at the bottom of the graph.
Parameters¶
Name | Type | Default | Mandatory | Description |
---|---|---|---|---|
SelectionPrefix | text | true | Use a datasource (or a deeper path) to limit the initial selection. | |
ForceRecompute | boolean | false | false | Force recomputing hash even if it is found |
UpdateDSHashing | boolean | false | false | Trigger datasource attribute update after all hashes are computed. |
Trigger Type¶
Manual