Skip to content

Instantly share code, notes, and snippets.

@clarkli86
Created July 27, 2016 02:05
Show Gist options
  • Save clarkli86/a89fd12372d4b2cd00ab904b409e32f1 to your computer and use it in GitHub Desktop.
Save clarkli86/a89fd12372d4b2cd00ab904b409e32f1 to your computer and use it in GitHub Desktop.
sha1sum recursively in bash
find ./path/to/directory/ -type f -print0 | xargs -0 sha1sum
# from http://superuser.com/questions/458326/sha1sum-for-a-directory-of-directories
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment