1
mirror of https://github.com/rclone/rclone synced 2024-11-04 00:27:50 +01:00
rclone/fs
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
..
accounting accounting: calculate rolling average speed 2021-07-05 16:27:33 +01:00
asyncreader fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
cache fs/cache: fix recreation of backends after they have expired 2021-03-30 18:46:30 +01:00
chunkedreader Spelling fixes 2020-10-14 15:21:31 +01:00
config config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
dirtree build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
fserrors Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
fshttp fshttp: implement graceful DSCP error handling 2021-05-28 13:43:38 +01:00
fspath fspath: fix path parsing on Windows - fixes #5143 2021-03-24 09:47:03 +00:00
hash cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
list filter: deglobalise to put filter config into the context #4685 2020-11-27 17:28:42 +00:00
log fs/log: don't compile systemd log integration for non unix systems 2020-12-28 23:07:12 +00:00
march fs/march: improve errors when root source/destination doesn't exist 2021-05-17 16:38:03 +01:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
rc config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
sync backend/local: skip entries removed concurrently with List() (#5297) 2021-07-07 16:50:19 +03:00
walk filter: deglobalise to put filter config into the context #4685 2020-11-27 17:28:42 +00:00
backend_config_test.go fs: add --all to rclone config create/update to ask all the config questions #3455 2021-05-14 14:07:44 +01:00
backend_config.go bin: add config.py as an example of how to use the state based config #3455 2021-05-14 14:07:44 +01:00
bwtimetable_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
bwtimetable.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
config.go config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
configmap.go config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
countsuffix_test.go Use decimal prefixes for counts 2021-04-27 02:25:52 +03:00
countsuffix.go Use decimal prefixes for counts 2021-04-27 02:25:52 +03:00
cutoffmode_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
cutoffmode.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go cmd/dedupe: make largest directory primary to minimize data moved (#3648) 2021-03-11 20:40:29 +03:00
direntries_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
direntries.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
dump_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
dump.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
features.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
fingerprint_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
fingerprint.go fs: add Fingerprint to detect changes in an object 2020-06-30 12:01:36 +01:00
fs_test.go fs: Add Exclusive parameter to Option to choose Examples only #3455 2021-05-14 14:07:44 +01:00
fs.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
log_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
log.go fs: fix logging level mentioned in docs of Logf 2021-06-21 23:30:26 +08:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
newfs.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
open_options_test.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
open_options.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
pacer.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
parseduration_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
parseduration.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
registry.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
sizesuffix_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
sizesuffix.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
types.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
version.go Start v1.56.0-DEV development 2021-03-31 19:51:43 +01:00
versioncheck.go build: raise minimum go version to go1.13 2021-02-03 17:41:06 +00:00