Hashdeep

De WikiMar
La revisió el 12:08, 16 gen 2016 per Marti (discussió | contribucions) (Es crea la pàgina amb « ==Create hash file== cd folder1 hashdeep -e -l -r . > hashdeep.txt * -r Recursive mode * -e Estimate time (opcional) * -l relative file paths To get a determini...».)
(dif.) ← Versió més antiga | Versió actual (dif.) | Versió més nova → (dif.)
Salta a la navegació Salta a la cerca


Create hash file

cd folder1
hashdeep -e -l -r . > hashdeep.txt
  • -r Recursive mode
  • -e Estimate time (opcional)
  • -l relative file paths

To get a deterministic order, use -j0 which disables multithreading (see the man page)


Verify hash on the same or another folder

cd folder2
hashdeep -r -X -v -k hashdeep.txt .
  • -r Recursive mode
  • -X Display each failed hash that does not match the list of known hashes
  • -v Verbose mode
  • -k Load list of known hashes
  • hashdeep.txt File containing hashes
  • dir Name of the directory in question


MAN: http://md5deep.sourceforge.net/hashdeep.html More info: https://linhost.info/2010/05/using-hashdeep-to-ensure-data-integrity/