md5deep usage on unraid


Recommended Posts

I'm having trouble finding on the boards a good "howto" use md5deep on a regular basis (i.e. monthly) to store and check file md5sums.

All I seem to be able to find is that md5deep is a good tool to do this and I have downloaded and install v4.0 from weebtech (thanks).

 

Can someone please point me in the right direction?

 

Thanks!

Link to comment
  • 3 weeks later...
  • 2 weeks later...

I finally looked into this. It's not practical to run daily unless you only want to check a small number of files. It takes 14 hours to run on a 2TB drive. Monthly checks may be practical.

 

Hashdeep will create a file of hashes for a specified directory. Hashdeep has an audit mode that will compare the hashes to the the corresponding files and report any changes to the files.

 

Instructions are here: http://md5deep.sourceforge.net/start-hashdeep.html

 

In order to run a cron job with email you'll need a script like this:

#!/bin/bash
hashdeep -r -a -k known.txt myfiles | mail -s hash-audit root

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.