Skip to content

Option to calculate checksum if missing #854

Closed

Description

@ncw

Make an option to download the file and calculate missing checksums on the fly.

This would be useful for crypt mounts in particular and for rclone md5sum and rclone sha1sum

See the discussion on the focum

Ideas for what the flag might be called

  • --calculate-checksum-if-missing
  • --calculate-missing-checksums
  • --calc-missing-checksums
  • --calc-missing-chksum

Activity

  1. added this to the v1.35 milestone on Nov 5, 2016
  2. Wowfunhappy commented on Nov 7, 2016

    @Wowfunhappy

    For the name, perhaps it could be called --always-checksum? It's shorter than any of the other options.

  3. modified the milestones: v1.35, v1.36 on Dec 14, 2016
  4. DurvalMenezes commented on Jan 8, 2017

    @DurvalMenezes
    Contributor

    Even better, not only download and calculate but also update (or insert) the calculated MD5SUM into the file's metadata when it becomes available (for example, on already encrypted remotes after or as part of implementing #637).

  5. modified the milestones: v1.36, v1.37 on Mar 1, 2017
  6. modified the milestones: v1.37, v1.38 on Jul 19, 2017
  7. 9 remaining items

  8. modified the milestones: v1.41, v1.42 on Apr 28, 2018
  9. modified the milestones: v1.42, v1.43 on Jun 17, 2018
  10. modified the milestones: v1.43, Soon on Sep 2, 2018
  11. ivandeex commented on Nov 25, 2020

    @ivandeex
    Member

    Related to PR #4803 adding the --download flag.

  12. ivandeex commented on Mar 18, 2021

    @ivandeex
    Member

    Now that we have --download merged, implementing this looks pretty simple
    Probably we could name the flag --download-if-missing to be in line.
    Any volunteers?

  13. modified the milestones: Soon, Help Wanted on Mar 18, 2021
  14. ivandeex commented on Oct 20, 2021

    @ivandeex
    Member

    @ncw
    I believe Hasher has this flow covered

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