Coder Social home page Coder Social logo

verify-md5-kdpmanifests's Introduction

Verifying MD5 Hash Information from Karen's Directory Printer File Manifests

hashverify.py

This script parses TXT format file manifests generated by Karen's Directory Printer. It is a basic command line script that prints results directly to the terminal. It validates the fixity of the files in the specified directory by generating a new MD5 hash value and comparing it to the hash in the existing manifest. It also skips over common preservation documentation like Duke Data Accessioner logs and media inventories.

hashverify_withlog.py

This script functions similarly to hashverify.py. In addition to verifying hash information, it also looks for any discrepancies in the two file lists (the manifest and the current directory contents) and generates a CSV log of the full results. Errors print to the terminal for immediate review. In addition to logging errors, this script logs current MD5 hash information for every file in the directory so that the CSV can be used for future hash verification.

verifyhash_fromlog.py

This script validates hash information saved in the logs generated by hashverify_withlog.py. It also looks for discripancies in the file lists and generates a CSV with the full results.

Script Usage

python /path/to/script /path/to/accession/directory

The manifest file needs to be somewhere in the specified accession directory.

verify-md5-kdpmanifests's People

Contributors

emkaser avatar

Watchers

James Cloos avatar Adriane Hanson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.