scripts-n-stuff/compare-hashes.ps1
2021-07-12 17:52:20 +02:00

5 lines
261 B
PowerShell

# on linux: md5sum bson.sql.tar.gz > bson.tar.gz.md5
# on windows: FCIV -md5 bson.tar.gz > bson.tar.gz.md5
# https://support.microsoft.com/en-us/topic/d92a713f-d793-7bd8-b0a4-4db811e29559
diff (echo (FCIV -md5 bson.tar.gz)|Select -Last 1) (cat bson.tar.gz.md5)