calculate checksum for a folder on windows and verify on linux

10,194

md5deep http://linhost.info/2010/02/checksum-a-directory-with-md5deep/

It's done using MD5, but allows you to calculate hashes for sub-directories and is supposedly cross-platform. It would not surprise me if there was a SHA version out there.

Alternate solution would be to do the transfer with rsync over SSH (install Cygwin on the Windows box). Which will make sure that the destination matches the source.

Share:
10,194
BetaRide
Author by

BetaRide

Developer, maker, youtuber. Visit my youtube channel: https://www.youtube.com/channel/UCN8wBEouFtaAyIjjIH2LjJQ

Updated on June 05, 2022

Comments

  • BetaRide
    BetaRide almost 2 years

    I have the following requirement:

    1. Calculate one checksum (SHA1 preferred) from an entire folder. This has to be done on Windows.
    2. Move this folder from a Windows to a Linux box.
    3. Verify the entire folder against the hash value on the Linux box.

    Any ideas are welcome!