Skip to content

Instantly share code, notes, and snippets.

@jboockmann
Created December 6, 2018 08:37
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 jboockmann/e83a82ab99df6ae2743e48a6a9e3d4a4 to your computer and use it in GitHub Desktop.
Save jboockmann/e83a82ab99df6ae2743e48a6a9e3d4a4 to your computer and use it in GitHub Desktop.
Find a file with a given MD5 hash
$ touch foo.md

$ md5sum foo.md
1452c8e52a24ceb37980635396b7048a  foo.md

$ find ~/ -type f -exec md5sum {} + | grep '^1452c8e52a24ceb37980635396b7048a'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment