Git Product home page Git Product logo

md5_utilities's Introduction

About

create.py, create_tree.py, verify.py, verify_tree.py, and verify_single.py are complimentary scripts that help ensure fixity for the Hoover Institution Library and Archives.

The purpose of these scripts is to generate and verify an indexed sidecar MD5 checksum/hash file for each file in a targeted folder. If .md5 files already exist for a given file, neither create.py nor create_tree.py will not overwrite them.

create.py and verify.py, respectively, create and verify checksums in a single folder.

create_tree.py and verify_tree.py, respectively as above, process a folder and all its subfolders.

verify_single.py validates a single md5 file.

How to Use

  1. Download the scripts (see the big green button above, to the right). Save them somewhere convenient. For sake of example later, we'll say "c:\scripts".

  2. Open your terminal or command prompt. Windows Mac

  3. Navigate to the folder (or top-level folder) you want to process. Windows Mac (substitute folder for file)

  4. Call the script with full path to the script: python c:\scripts\create.py. For verify_single, this will look like python c:\scripts\verify_single.py c:\path\to\fake_file.txt.md5 will verify fake_file.txt.

md5_utilities's People

Contributors

jamessam avatar ocdude avatar

Watchers

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