[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 64633] Wish: support for PAR files (RAR archive recovery)
From:       Thibaut Cousin <kde () thibaut-cousin ! net>
Date:       2003-11-09 8:54:14
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=64633     




------- Additional Comments From kde@thibaut-cousin.net  2003-11-09 09:54 -------
You get a set of Par files alongisde a set of other files, not only RAR files (but \
usually RAR files). The set of Par files starts with a "master Par file".

- For Par1 files, the master file has extension .par and the others have extension \
                .p01, .p02, etc.
- For Par2 files, all the files have extension .par2 but the file name tells you \
which one is the master file. Example: the master file is called "mysetoffiles.par2" \
and the others "mysetoffiles.vol00+01.par2", "mysetoffiles.vol02+04.par2", etc.

The master Par file does not contain recovery information, but it contains the list \
of the files to repair (usually the list of all the RAR files). So it's usually much \
smaller than the other Par files (example: a few ko for the master  Par file, several \
Mo for the other Par files).

How to use it? It's the same for Par1 and Par2 files, as Par2Cmdline is compatible \
with both.

- The command "par2verify name_of_master_par_file" will detect all the Par files, see \
how much recovery information they contain, then check the integrity of the RAR files \
                (it knows them because they are declared in it).
- The command "par2repair name_of_master_par_file" will first run a "verify" like \
above, and then, if possible (i.e. recovery information > damaged data), repair \
everything.

Of course the set of RAR files is fixed, it is declared precisely in the master Par \
file. But the number of Par files is a bit more loose. If I understood it correctly, \
each Par file has a number written in its header, so you can have only one Par file \
with a given number in a set. It means you can add Par files from several sources, as \
long as their numbers don't overlap. It's something you don't really care about, you \
let par2verify do all the work. If a Par file is not fit, it's ignored and that's it.

It's also possible to create Par files against a set of files with "par2create", but \
I've never used it.

In fact, all three commands "par2verify", "par2repair" and "par2create" are only hard \
links to the binary "par2". So if you prefer to use only the real binary, the \
commands are, respectively, "par2 v", "par2 r" and "par2 c".

I can provide you wih a set of Par/RAR files, if you like, as a test subject.

Thanks for your attention!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic