calculate crc32 on the command-line using 7z.exe – Using 7-zip hashing to compare directories and files – Sami Lehtinen
Posted by jpluimers on 2018/02/26
Searching 7z.exe calculate crc32 didn’t return any meaningful results, but [WayBack] Using 7-zip hashing to compare directories and files – Sami Lehtinen did help me as I never noticed that somewhere along the line the h command got added to 7z.exe. It’s not even in the documentation, as found by searching for 7zip commandline arguments:
but it is in the command-line help, at least in versions 16.x:
C:\temp>"C:\Program Files\7-Zip\7z.exe" --help
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
Usage: 7z [...] [...]
[<@listfiles...>]
a : Add files to archive
b : Benchmark
d : Delete files from archive
e : Extract files from archive (without using directory names)
h : Calculate hash values for files
i : Show information about supported formats
l : List contents of archive
rn : Rename files in archive
t : Test integrity of archive
u : Update files to archive
x : eXtract files with full paths
–jeroen






Leave a comment