2016-08-03 20:36:28 +00:00
|
|
|
---
|
|
|
|
title: "rclone sha1sum"
|
2020-05-16 14:11:55 +00:00
|
|
|
description: "Produces an sha1sum file for all the objects in the path."
|
2016-08-03 20:36:28 +00:00
|
|
|
slug: rclone_sha1sum
|
|
|
|
url: /commands/rclone_sha1sum/
|
2020-02-10 12:31:45 +00:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/sha1sum/ and as part of making a release run "make commanddocs"
|
2016-08-03 20:36:28 +00:00
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
# rclone sha1sum
|
2016-08-03 20:36:28 +00:00
|
|
|
|
|
|
|
Produces an sha1sum file for all the objects in the path.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Synopsis
|
2016-08-03 20:36:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
Produces an sha1sum file for all the objects in the path. This
|
|
|
|
is in the same format as the standard sha1sum tool produces.
|
|
|
|
|
2020-12-18 12:45:58 +00:00
|
|
|
By default, the hash is requested from the remote. If SHA-1 is
|
|
|
|
not supported by the remote, no hash will be returned. With the
|
|
|
|
download flag, the file will be downloaded from the remote and
|
|
|
|
hashed locally enabling SHA-1 for any remote.
|
|
|
|
|
2022-07-09 17:08:20 +00:00
|
|
|
For other algorithms, see the [hashsum](/commands/rclone_hashsum/)
|
|
|
|
command. Running `rclone sha1sum remote:path` is equivalent
|
|
|
|
to running `rclone hashsum SHA1 remote:path`.
|
|
|
|
|
2022-03-18 12:29:54 +00:00
|
|
|
This command can also hash data received on standard input (stdin),
|
|
|
|
by not passing a remote:path, or by passing a hyphen as remote:path
|
2022-10-21 14:06:08 +00:00
|
|
|
when there is data to read (if not, the hyphen will be treated literally,
|
2022-03-18 12:29:54 +00:00
|
|
|
as a relative path).
|
|
|
|
|
|
|
|
This command can also hash data received on STDIN, if not passing
|
|
|
|
a remote:path.
|
|
|
|
|
2016-08-03 20:36:28 +00:00
|
|
|
|
|
|
|
```
|
2017-09-30 13:19:47 +00:00
|
|
|
rclone sha1sum remote:path [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Options
|
2017-09-30 13:19:47 +00:00
|
|
|
|
|
|
|
```
|
2020-12-18 12:45:58 +00:00
|
|
|
--base64 Output base64 encoded hashsum
|
2021-07-07 15:34:16 +00:00
|
|
|
-C, --checkfile string Validate hashes against a given SUM file instead of printing them
|
2020-12-18 12:45:58 +00:00
|
|
|
--download Download the file and hash it locally; if this flag is not specified, the hash is requested from the remote
|
|
|
|
-h, --help help for sha1sum
|
|
|
|
--output-file string Output hashsums to a file rather than the terminal
|
2016-08-03 20:36:28 +00:00
|
|
|
```
|
|
|
|
|
2019-06-20 15:18:02 +00:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## SEE ALSO
|
2016-08-03 20:36:28 +00:00
|
|
|
|
2018-10-15 10:03:08 +00:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2018-03-19 10:06:13 +00:00
|
|
|
|