I have two files, of several gigabytes in size, which have been compressed with
xz
. I suspect the original files before compression are identical, but they've been compressed with different xz
options so the compressed files are different.
How can I verify that the files are identical without uncompressing them? As they're so large I would rather not uncompress them if I don't have to.
I know that xz
stores a CRC checksum, so I thought it should be easy enough: just print and compare the CRC checksums of each file. However the xz -l
(and xz -l -v
) command just lists the checksum as type "CRC64" instead of what the actual checksum is.
Asked by k314159
(481 rep)
Nov 14, 2024, 12:07 PM
Last activity: Nov 14, 2024, 12:25 PM
Last activity: Nov 14, 2024, 12:25 PM