idrassi / DirHash

Windows command line utility to compute hash of directories and files
BSD 3-Clause "New" or "Revised" License
111 stars 11 forks source link

error verifying directory hash #4

Closed GuHue closed 4 years ago

GuHue commented 4 years ago

When I try to use the "verify" switch after computing a directory hash with result in a file, I get an error message "Failed to parse checksum file...". But it works if I compute the hash for every file (with the "sum" switch)...but that's not what I need :-)

idrassi commented 4 years ago

Indeed, this use case doesn't work because the current implementation of the "verify" switch only handle checksum files case.

I will implement support for simple verification of directory hash and the publish a new version. It doesn't sound complex so I should be able to do this in the coming days.

GuHue commented 4 years ago

It would be great. Thanks! (and thanks again for your quick answer)

idrassi commented 4 years ago

I have implemented this feature in the commit https://github.com/idrassi/DirHash/commit/b40642e8039d928fb7580c971224aefba429363b

I have published version 1.11 that contains this implementation.

I will close this issue. Feel free to reopen if you encounter any issues.