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