Last active
September 19, 2018 09:24
-
-
Save kangmasjuqi/0940b060f953f12a19c3a7a47574b076 to your computer and use it in GitHub Desktop.
working with MD5SUM
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 all files under current active directory | |
find -type f | |
# generate MD5SUM hash of all files under current active directory and store in file MDSUM.txt | |
find -type f | xargs -I{} md5sum {} > MD5SUM.txt | |
# validate the content of file MD5SUM.txt (files and their MD5SUM hash) | |
md5sum -c MD5SUM.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment