Skip to content

Instantly share code, notes, and snippets.

@sashka
Created December 10, 2014 13:09
Show Gist options
  • Select an option

  • Save sashka/a097172f1f23e0877107 to your computer and use it in GitHub Desktop.

Select an option

Save sashka/a097172f1f23e0877107 to your computer and use it in GitHub Desktop.
find . -type f -exec sha1sum "{}" >> SHA1SUMS.txt \; ; grep -v .DS_Store SHA1SUMS.txt | grep -v SHA1SUMS > SHA1SUMS ; rm SHA1SUMS.txt ; sha1sum -c SHA1SUMS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment