I have a question about using 7zip to test and authenticate the Integrity of compressed archives and as there are 1000+ files, doing opening them one at a time is not feasable.
I have a large number of compressed archives, a mixture of .rar, .zip and 7 zip, around 1.2TB that I have been trying to copy/clone from a exFAT external SSD to a NTFS external SSD, I have tried robocopy and Macrium Reflect but some of the copied files end up haveing a zero kb size but the original, (the one being copied is)
perfect
The answer suggested a powershell script that would do the job:
$7z = "T:\folder\to\7z.exe"
Dir "C:\folder\to\check" -r -include @("*.zip","*.7z") | % { & $7z t $_ -r}
These scripts are way above my knowledge and would not know where to even begin to understand them.
My question is, as the post on Super User is over 12 years, 6 months old, can anyone tell me if the above script is still valid and safe to use, or is there a better one that can be used with the current 7zip?
Many thanks for reading this far.
Kind regards
event2020
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Windows 11 23H2
Hello.
I have a question about using 7zip to test and authenticate the Integrity of compressed archives and as there are 1000+ files, doing opening them one at a time is not feasable.
I have a large number of compressed archives, a mixture of .rar, .zip and 7 zip, around 1.2TB that I have been trying to copy/clone from a exFAT external SSD to a NTFS external SSD, I have tried robocopy and Macrium Reflect but some of the copied files end up haveing a zero kb size but the original, (the one being copied is)
perfect
When searching for a way to check which files are not copied correctly, I came upon a thread on superuser that suggested 7zip can do this.
[https://superuser.com/questions/526275/how-can-i-test-all-zip-files-in-a-folder-to-verify-if-they-are-corrupted-or-not](https://)
The answer suggested a powershell script that would do the job:
These scripts are way above my knowledge and would not know where to even begin to understand them.
My question is, as the post on Super User is over 12 years, 6 months old, can anyone tell me if the above script is still valid and safe to use, or is there a better one that can be used with the current 7zip?
Many thanks for reading this far.
Kind regards
event2020