Thursday, September 27, 2012

Tools for data integrity on Debian Linux

Here, data integrity means that the data are complete and not altered.

I used sha1sum for a file. For example,

sha1sum nameOfFile

For all the files in the directory or folder, I used

find . -type f -exec sha1sum {} >> SHA1SUMS \;

This created a file called SHA1SUMS containing the sha1sum values of each file.


I visited this page before writing this blog post.

No comments: