Skip to content

cryptcheck should also check and report directory differences #6440

Open

Description

@eharris

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

rclone v1.59.2-beta.6379.603efbfe7

  • os/version: debian 11.4 (64 bit)
  • os/kernel: 5.10.0-17-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17
  • go/linking: dynamic
  • go/tags: none

What problem are you are trying to solve?

cryptcheck currently only compares file differences. I think it would be useful for it to also report directory differences, that is, if a directory exists on one side but not the other.

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

It seems logical that any detectable differences should be reported by cryptcheck, which would include directory checks.

This is a follow-on to #6437 and #6439.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. animosity022 commented on Sep 13, 2022

    @animosity022
    Contributor

    Cryptcheck is meant for files as directories have no checksums so you can't check them.

    md5sum test
    md5sum: test: Is a directory
    

    You'd use something else as it's meant for crypt files.

  2. eharris commented on Sep 13, 2022

    @eharris
    ContributorAuthor

    I realize that cryptcheck is currently aimed at checksumming files. That's why this is a feature request to also add reporting of directory differences, since they are detectable, although admittedly not by way of using checksums.

  3. added a commit that references this issue on Jan 20, 2024
    4b12257
  4. added a commit that references this issue on Sep 18, 2024
    d19ee91
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions