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-07-07 18:34:16 +03:00
2021-01-25 22:40:46 +03:00
2021-01-25 22:40:46 +03:00
2021-04-28 22:55:27 +01:00
2021-01-21 10:39:51 +00:00
2020-10-28 18:16:23 +00:00
2021-01-25 22:40:46 +03:00
2020-11-26 16:40:12 +00:00
2020-11-09 18:05:54 +00:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2021-01-25 22:40:46 +03:00
2021-04-27 02:25:52 +03:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2020-11-26 16:40:12 +00:00
2018-06-02 17:35:13 +01:00