Created
January 12, 2015 10:30
-
-
Save arsham/aaa4527720cee7128e4d to your computer and use it in GitHub Desktop.
Returns the md5sum of the folder. It's recursive
This file contains hidden or 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
#!/bin/bash | |
find $1/ -type f -exec md5sum {} + | awk '{print $1}' | sort | md5sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment