Menu

#1552 Improve performance of test command

open
nobody
None
3
2022-02-09
2022-02-09
No

The following situation:
- Corrupt archive file of size 10GiB
- The Test command for this file, reports a lot of errors

Proposed change:
If the file is corrupt and has an error, display the first error and stop testing the file. This should be the default when testing archives, if the user wants to see all errors a switch like -allErrors or -full could be used.
7z t archive.zip
7z t archive.zip -allErrors

In guess most users will delete the file if it has just one error inside. This could speedup testing of multiple files greatly.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.