Skip to content

Instantly share code, notes, and snippets.

@saevarom
Created March 21, 2012 00:34
Show Gist options
  • Save saevarom/2143022 to your computer and use it in GitHub Desktop.
Save saevarom/2143022 to your computer and use it in GitHub Desktop.
md5sum for directory and check
find . -type f -print0 | xargs -0 md5sum > checksums_backup.md5
#check the data
md5sum -c checksums_backup.md5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment