Skip to content

--download option for md5sum #3923

Closed
Closed

Description

@aicioara

What is your current rclone version (output from rclone version)?

rclone v1.50.2
- os/arch: linux/amd64
- go version: go1.13.4

What problem are you are trying to solve?

The md5sum that rclone stores with the object is not guaranteed to be the md5sum of the actual object for multipart files (see #523). This means that the output of the following command is not guaranteed to be correct

rclone md5sum remote://path/to/file

This then cascades to rclone check as well.

How do you think rclone should be changed to solve that?

Rclone should add a --download flag for the md5sum command (possibly for hashsum as well) which downloads the file and returns the md5sum.

--download is a suggestion based on the rclone check command, but other options should also work.

Activity

  1. added this to the Help Wanted milestone on Feb 2, 2020
  2. ncw commented on Feb 2, 2020

    @ncw
    Member

    That isn't a bad suggestion.. Do you want to work on it?

    You could use rclone cat remote:path/to/file | md5sum - as a work-around.

  3. ivandeex commented on Apr 12, 2021

    @ivandeex
    Member

    this feature was merged by #4803 and released with 1.54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions