I have some large archives that I made that are 10 to 20 GB in size. I would like to verify that the archives contain the original files without corruption, but I don't have space to decompress them and diff. What I would like to do is create a list of files with their CRCs and diff it to a list created from the archive with all the files and the CRCs reported in the archive. If these lists match I will use the test command on the archive and if that passes delete the original files. This works on the assumption that the test command will fail if the CRCs are incorrect. Is this assumption valid?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I didn't see these options, but after upgrading from 9.20 to 9.30 I was able to do it. I had to wait until some long compression operations were completed to upgrade. Now that I have, it looks like this will work. Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have some large archives that I made that are 10 to 20 GB in size. I would like to verify that the archives contain the original files without corruption, but I don't have space to decompress them and diff. What I would like to do is create a list of files with their CRCs and diff it to a list created from the archive with all the files and the CRCs reported in the archive. If these lists match I will use the test command on the archive and if that passes delete the original files. This works on the assumption that the test command will fail if the CRCs are incorrect. Is this assumption valid?
yes, you can do it.
Also 7-Zip can calculate sum of CRCs in archive and disk.
So you don't need to check each file, if sums are same.
Last edit: Igor Pavlov 2014-09-18
I didn't see these options, but after upgrading from 9.20 to 9.30 I was able to do it. I had to wait until some long compression operations were completed to upgrade. Now that I have, it looks like this will work. Thank you.