You are reading help file online using chmlib.com
|
Command R - repair a damaged archive
Archive repairing consists of two stages. First, the damaged archive is scanned for a recovery record (see the rr command). If the archive contains a previously added recovery record and if the portion of the damaged data is continuous and less than N*512 bytes, where N is number of recovery sectors placed into the archive, the chance of a successful archive reconstruction is very high. When this stage has been completed, a new archive will be created, called fixed.arcname.rar, where 'arcname' is the original (damaged) archive name.
If a damaged archive does not contain a recovery record or if the archive cannot be completely recovered due to severe damage, a second stage is begun. During this stage only the archive structure is reconstructed and it is impossible to recover files which fail CRC validation, but it is still possible to recover undamaged files which were inaccessible due to a corrupt archive structure. Generally this is useful for non-solid archives. In a damaged solid archive, often, only the first file may be recovered during the second stage.
When this stage has been completed, a new archive will be created, called rebuilt.arcname.rar, where 'arcname' is the original archive name.
While the recovery process is in operation, WinRAR may prompt the user for assistance when suspicious files are located.
Suspicious entry <possible filename>. Add it to archive: Yes/No/All
Answer 'Y' to add this entry to the file fixed.arcname.rar.
This command is the command line equivalent of the file management command Repair archive.
WinRAR r buggy.rar
You are reading help file online using chmlib.com
|