Skip to content

Instantly share code, notes, and snippets.

@iandesj
Created July 9, 2021 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iandesj/ecbfef76b1b8ea560f55eac6ec8c0860 to your computer and use it in GitHub Desktop.
Save iandesj/ecbfef76b1b8ea560f55eac6ec8c0860 to your computer and use it in GitHub Desktop.
Get MD5 Hash of Directory Contents
# replace md5sum with md5 on a mac
# for javascript/node codebase
find -s client -not -path "*/node_modules/*" -type f -exec md5sum {} \; | md5sum
# python codebase with venv/
find -s backend -not -path "*/venv/*" -type f -exec md5sum {} \; | md5sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment