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