Skip to content
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

Each rip hashed to allow for later validation and identify bit rot #4

Open
KlfJoat opened this issue Sep 5, 2019 · 1 comment
Open
Assignees
Labels
identify and run EPIC Identify a disc type and run the appropriate ripper requirement Core of a product or infrastructure (may implement feature, may not)
Milestone

Comments

@KlfJoat
Copy link
Owner

KlfJoat commented Sep 5, 2019

Sample command line

cfv -C -t sha1 -rr -v -L -f checksum.sha1
  • -C
    • Create (as opposed to test)
  • -t sha1
    • Type to create: sha1
  • -rr
    • "Recursive mode 2. In create mode make a single file with deep listing in it. Both recursive modes are equivilant for test mode." As opposed to creating a separate file for each subdir, with -r.
  • -v
    • Verbose (maybe remove and replace with a quiet option)
  • -L
    • "Don't follow directory symlinks in recursive mode." Because there shouldn't be any, and I don't want to follow even if there are.
  • -f checksum.sha1
    • Output filename to create.

Validateable with cfv, of course, and...

sha1sum -c checksum.sha1

(tested the single file deep recursive mode)

@KlfJoat KlfJoat added the identify and run EPIC Identify a disc type and run the appropriate ripper label Sep 5, 2019
@KlfJoat KlfJoat added this to the MVP-Ripped milestone Sep 5, 2019
@KlfJoat KlfJoat self-assigned this Sep 5, 2019
@KlfJoat KlfJoat added the requirement Core of a product or infrastructure (may implement feature, may not) label Sep 5, 2019
@KlfJoat KlfJoat changed the title Each rip hashed to identify bit rot and allow for validation later Each rip hashed to allow for later validation and identify bit rot Sep 6, 2019
@KlfJoat
Copy link
Owner Author

KlfJoat commented Apr 22, 2020

cfv has died with python2.7. So this seems to be the way to do it natively with sha1sum...

shopt -s globstar && sha1sum -b ** > checksum.sha1

from https://askubuntu.com/a/439504/10542

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
identify and run EPIC Identify a disc type and run the appropriate ripper requirement Core of a product or infrastructure (may implement feature, may not)
Projects
None yet
Development

No branches or pull requests

1 participant