Skip to content

Instantly share code, notes, and snippets.

@gilesdring
Created November 23, 2016 13:34
Show Gist options
  • Save gilesdring/ea1a1e0032c5dbbe7daa658d1155f805 to your computer and use it in GitHub Desktop.
Save gilesdring/ea1a1e0032c5dbbe7daa658d1155f805 to your computer and use it in GitHub Desktop.
Creates an MD5 for all the files in a directory. Useful for checking a whole set of files have been transferred correctly.
find . -type f | xargs openssl md5 | cut -f2 -d' ' | sort | openssl md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment