github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_hashsum.md (about) 1 --- 2 title: "rclone hashsum" 3 description: "Produces a hashsum file for all the objects in the path." 4 slug: rclone_hashsum 5 url: /commands/rclone_hashsum/ 6 groups: Filter,Listing 7 versionIntroduced: v1.41 8 # autogenerated - DO NOT EDIT, instead edit the source code in cmd/hashsum/ and as part of making a release run "make commanddocs" 9 --- 10 # rclone hashsum 11 12 Produces a hashsum file for all the objects in the path. 13 14 ## Synopsis 15 16 17 Produces a hash file for all the objects in the path using the hash 18 named. The output is in the same format as the standard 19 md5sum/sha1sum tool. 20 21 By default, the hash is requested from the remote. If the hash is 22 not supported by the remote, no hash will be returned. With the 23 download flag, the file will be downloaded from the remote and 24 hashed locally enabling any hash for any remote. 25 26 For the MD5 and SHA1 algorithms there are also dedicated commands, 27 [md5sum](/commands/rclone_md5sum/) and [sha1sum](/commands/rclone_sha1sum/). 28 29 This command can also hash data received on standard input (stdin), 30 by not passing a remote:path, or by passing a hyphen as remote:path 31 when there is data to read (if not, the hyphen will be treated literally, 32 as a relative path). 33 34 Run without a hash to see the list of all supported hashes, e.g. 35 36 $ rclone hashsum 37 Supported hashes are: 38 * md5 39 * sha1 40 * whirlpool 41 * crc32 42 * sha256 43 44 Then 45 46 $ rclone hashsum MD5 remote:path 47 48 Note that hash names are case insensitive and values are output in lower case. 49 50 51 ``` 52 rclone hashsum [<hash> remote:path] [flags] 53 ``` 54 55 ## Options 56 57 ``` 58 --base64 Output base64 encoded hashsum 59 -C, --checkfile string Validate hashes against a given SUM file instead of printing them 60 --download Download the file and hash it locally; if this flag is not specified, the hash is requested from the remote 61 -h, --help help for hashsum 62 --output-file string Output hashsums to a file rather than the terminal 63 ``` 64 65 66 ## Filter Options 67 68 Flags for filtering directory listings. 69 70 ``` 71 --delete-excluded Delete files on dest excluded from sync 72 --exclude stringArray Exclude files matching pattern 73 --exclude-from stringArray Read file exclude patterns from file (use - to read from stdin) 74 --exclude-if-present stringArray Exclude directories if filename is present 75 --files-from stringArray Read list of source-file names from file (use - to read from stdin) 76 --files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin) 77 -f, --filter stringArray Add a file filtering rule 78 --filter-from stringArray Read file filtering patterns from a file (use - to read from stdin) 79 --ignore-case Ignore case in filters (case insensitive) 80 --include stringArray Include files matching pattern 81 --include-from stringArray Read file include patterns from file (use - to read from stdin) 82 --max-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off) 83 --max-depth int If set limits the recursion depth to this (default -1) 84 --max-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off) 85 --metadata-exclude stringArray Exclude metadatas matching pattern 86 --metadata-exclude-from stringArray Read metadata exclude patterns from file (use - to read from stdin) 87 --metadata-filter stringArray Add a metadata filtering rule 88 --metadata-filter-from stringArray Read metadata filtering patterns from a file (use - to read from stdin) 89 --metadata-include stringArray Include metadatas matching pattern 90 --metadata-include-from stringArray Read metadata include patterns from file (use - to read from stdin) 91 --min-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off) 92 --min-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off) 93 ``` 94 95 ## Listing Options 96 97 Flags for listing directories. 98 99 ``` 100 --default-time Time Time to show if modtime is unknown for files and directories (default 2000-01-01T00:00:00Z) 101 --fast-list Use recursive list if available; uses more memory but fewer transactions 102 ``` 103 104 See the [global flags page](/flags/) for global options not listed here. 105 106 # SEE ALSO 107 108 * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends. 109