rclone/docs/content/commands
lostheli c8cfa43ccc Add a download flag to hashsum and related commands to force rclone to download and hash files locally
This commit modifies the operations.hashSum function by adding an alternate code path. This code path is triggered by passing downloadFlag = True. When activated, rclone will download files from the remote and hash them locally. downloadFlag = False preserves the existing behavior of using the remote to retrieve the hash.

This commit modifies HashLister to support the new hashSum method as well as consolidating the roles of HashLister, HashListerBase64, Md5sum, and Sha1sum.  The printing of hashes from the function defined in HashLister has been revised to work with --progress.  There are light changes to operations.syncFprintf and cmd.startProgress for this.

The unit test operations_test.TestHashSums is modified to support this change and test the download functionality.

The command functions hashsum, md5sum, sha1sum, and dbhashsum are modified to support this change.  A download flag has been added and an output-file flag has been added.  The output-file flag writes hashes to a file instead of stdout to avoid the need to redirect stdout.
2020-12-27 15:40:44 +00:00
..
rclone_about.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_authorize.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_backend.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_cat.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_check.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_cleanup.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_create.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_delete.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_disconnect.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_dump.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_edit.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_file.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_password.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_providers.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_reconnect.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_show.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_update.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config_userinfo.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_config.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_copy.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_copyto.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_copyurl.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_cryptcheck.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_cryptdecode.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_dedupe.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_delete.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_deletefile.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_genautocomplete_bash.md genautocomplete: add support to output to stdout 2020-10-22 17:28:33 +01:00
rclone_genautocomplete_fish.md genautocomplete: add support to output to stdout 2020-10-22 17:28:33 +01:00
rclone_genautocomplete_zsh.md genautocomplete: add support to output to stdout 2020-10-22 17:28:33 +01:00
rclone_genautocomplete.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_gendocs.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_hashsum.md Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
rclone_link.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_listremotes.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_ls.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_lsd.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_lsf.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_lsjson.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_lsl.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_md5sum.md Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
rclone_mkdir.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_mount.md docs: Fixed links to VFS FIle Caching section 2020-11-23 16:30:58 +00:00
rclone_move.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_moveto.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_ncdu.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_obscure.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_purge.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_rc.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_rcat.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_rcd.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_rmdir.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_rmdirs.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_serve_dlna.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_serve_ftp.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_serve_http.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_serve_restic.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_serve_sftp.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_serve_webdav.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_serve.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_settier.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_sha1sum.md Add a download flag to hashsum and related commands to force rclone to download and hash files locally 2020-12-27 15:40:44 +00:00
rclone_size.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone_sync.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_touch.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_tree.md Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone_version.md docs: remove manually set dates and use git dates instead 2020-06-01 13:07:46 +01:00
rclone.md Version v1.53.0 2020-09-02 17:00:18 +01:00