New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to calculate checksum if missing #854

Open
ncw opened this Issue Nov 5, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@ncw
Copy link
Owner

ncw commented Nov 5, 2016

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

@ncw ncw added the enhancement label Nov 5, 2016

@ncw ncw added this to the v1.35 milestone Nov 5, 2016

@Wowfunhappy

This comment has been minimized.

Copy link

Wowfunhappy commented Nov 7, 2016

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

@DurvalMenezes

This comment has been minimized.

Copy link

DurvalMenezes commented Jan 8, 2017

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).

@ncw ncw modified the milestones: v1.36, v1.37 Mar 1, 2017

@ncw ncw modified the milestones: v1.37, v1.38 Jul 19, 2017

@ncw ncw modified the milestones: v1.38, v1.39 Sep 30, 2017

@ncw ncw modified the milestones: v1.39, v1.40 Jan 11, 2018

@ncw

This comment has been minimized.

Copy link
Owner

ncw commented Jan 20, 2018

@ishuah if you were looking for an issue to work on this would be a good one :-)

@ncw

This comment has been minimized.

Copy link
Owner

ncw commented Jan 22, 2018

This could also satisfy #1994 if it there was an option to always download the the file to check the checksum.

@ncw ncw modified the milestones: v1.40, v1.41 Mar 19, 2018

@ncw ncw modified the milestones: v1.41, v1.42 Apr 28, 2018

@ncw ncw modified the milestones: v1.42, v1.43 Jun 17, 2018

@ncw ncw modified the milestones: v1.43, Soon Sep 2, 2018

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