Created
June 14, 2016 07:09
-
-
Save janodev/37059bb5b3e874505d91e045c8fed188 to your computer and use it in GitHub Desktop.
Check files for corruption. From https://blog.barthe.ph/2014/06/10/hfs-plus-bit-rot/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f -a ! -name ".DS_Store" -exec shasum '{}' \; > shasums.txt | |
shasum -c < shasums.txt > check.txt | |
cat check.txt | fgrep -v OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment