1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-17 20:27:52 +02:00
Ivan Andreev b40d9bd4c4
cmd: add hashSUM file support (#5352)
Currently rclone check supports matching two file trees by sizes and hashes.
This change adds support for SUM files produced by GNU utilities like sha1sum.

Fixes #1005 

Note: checksum by default checks, hashsum by default prints sums.
New flag is named "--checkfile" but carries hash name.
Summary of introduced command forms:

```
rclone check sums.sha1 remote:path --checkfile sha1
rclone checksum sha1 sums.sha1 remote:path             
rclone hashsum sha1 remote:path --checkfile sums.sha1
rclone sha1sum remote:path --checkfile sums.sha1
rclone md5sum remote:path --checkfile sums.md5
```
2021-07-07 18:34:16 +03:00
..
2021-06-10 19:52:55 +03:00
2020-10-28 18:16:23 +00:00
2021-06-10 19:52:55 +03:00
2021-02-02 14:17:09 +00:00
2020-12-27 12:43:30 +00:00
2020-11-27 14:08:52 +00:00
2021-06-08 18:57:04 +03:00
2021-03-31 19:12:08 +01:00
2021-05-28 14:44:50 +01:00
2021-02-02 14:17:09 +00:00
2021-02-02 14:17:09 +00:00
2020-11-27 14:08:52 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-11-27 14:08:52 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2021-06-08 09:59:57 +01:00
2020-10-28 18:16:23 +00:00
2020-11-27 14:08:52 +00:00
2021-04-13 17:46:07 +02:00
2021-05-12 09:52:07 +01:00
2021-03-31 19:12:08 +01:00