1
0
mirror of https://github.com/rclone/rclone.git synced 2025-03-13 14:59:01 +01:00
rclone/fs/operations
Ivan Andreev b40d9bd4c4
cmd: add hashSUM file support ()
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  

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
..
check_test.go cmd: add hashSUM file support () 2021-07-07 18:34:16 +03:00
check.go cmd: add hashSUM file support () 2021-07-07 18:34:16 +03:00
dedupe_test.go dedupe: add --by-hash to dedupe on hash not file name - fixes 2020-12-02 16:52:12 +00:00
dedupe.go cmd/dedupe: make largest directory primary to minimize data moved () 2021-03-11 20:40:29 +03:00
listdirsorted_test.go filter: deglobalise to put filter config into the context 2020-11-27 17:28:42 +00:00
lsjson.go fs: deglobalise the config 2020-11-26 16:40:12 +00:00
multithread_test.go fs: deglobalise the config 2020-11-26 16:40:12 +00:00
multithread.go fs: deglobalise the config 2020-11-26 16:40:12 +00:00
operations_internal_test.go fs: deglobalise the config 2020-11-26 16:40:12 +00:00
operations_test.go cmd: add hashSUM file support () 2021-07-07 18:34:16 +03:00
operations.go cmd: add hashSUM file support () 2021-07-07 18:34:16 +03:00
rc_test.go lib/rest: fix multipart uploads stopping on context cancel 2021-03-29 19:09:47 +01:00
rc.go fs: Add context to NewFs 2020-11-09 18:05:54 +00:00
reopen_test.go doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
reopen.go fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options 2020-04-23 11:07:21 +01:00