sha1sum a folder and files?
Is there anyway to make a hash (or similar), of a folder of files, for data integrity purposes?
I tried with sha1sum, but it cant do it. Is it possible with some other software? |
You can do this with sha1sum, but there are some issues when trying to do this on a group of files.
For example, if you were just doing a bunch of files, you can do something like the following (where the '-' parameter tells sha1sum to use standard input): Code:
sha1sum * | sha1sum - Or you could do something like this: Code:
tar cO --mtime=0 . | sha1sum - |
|
All times are GMT -5. The time now is 03:46 PM. |