Previously I wrote about Hashing a directory with md5deep since that post was written I’ve received a few comments asking how to accomplish the same but with an entire drive which is why I’ve decided to write this post. The actual command to hash an entire drive with md5deep is quite easy to understand and execute just like before. Normally if all you want it to do is hash a single directory you would use the exact command below.
md5deep -rel E:Encoder_Output > Encoder_Output.md5
The command to hash the contents of an entire drive is similar to the one above, but instead of using the directory path we only need to use the drive letter.
md5deep -rel E: > E_Results.md5
- r = recursive operation
- e = compute estimated time remaining for file name
- l = print relative paths for file name
- E: = Drive you need to hash
- > E_Results.md5 = output file
Once you have the resulting hashes from the operation in a text file you can refer to my second post on how to Compare Hashes With md5deep.