sweep par2 c -r15 -n1 -s70000 par2file *.*
s = 70000 as example, you can type in any value u want...
r=15 = 15% redundancy, u can type in other values, of course..
http://4nykey.nm.ru/tmp/par2-0.3.zipUser's report:
Par2ing a lot directories & subdirectories in 1 step:
par2cmdline-0.2.x86.win32.zip
worked well together with sweep.exe in DOSbox.
get it here:
http://parchive.sourceforge.net/or directly here:
http://prdownloads.sourceforge.net/parchiv...32.zip?downloadget sweep from case's page:
http://www.saunalahti.fi/cse/files/Sweep.zipInstall:
Ensuring sweep.exe and par2.exe (the commandline version mentioned above are in your path : /windows/system32/ dir (for NT, see equivilant for your OS)
Usage:
Every subdirectory was treated as single directory.
I tried eg. this commandline:
sweep par2 c -r15 -n1 -s384000 par2file *.*
some remarks:
smaller blocksize than -s 380 kiloByte is better, but longer time.
r15 : 15% redundancy, variable
n = 1 : 1 par2 file, you can leave n option away
You could adjust r, n, s to your needs.
n does not affect the recovery quality,
r , s influence the recovery quality/computing time.
par2 c -r15 -n1 -s384000 par2file *.*
time = const. * r% * 1/s
Time is proportional to : redundancy * smaller_blocksize
Out of readme:
Naming, wildcards:
If test.mpg had been split into multiple RAR files, then you could use:
par2 create test.mpg.rar.par2 test.mpg.part*.rar
The files filename "test.mpg.rar.par2" says what you want the par2 files to
be called and "test.mpg.part*.rar" should select all of the RAR files.
Addition:
Summary of commandlines:
Create par2:
sweep par2 c -r15 -n1 -s384000 par2file *.*
instead of s=384000, you can try smaller values, but the computing time will increase proportional , eg : 192000 ==>> twice the time than for s=384000.
same for R=15, amount of recovery data in %. eg. half amount in % ==>> half time.
Check:
sweep par2 v *.par2
Repair:
par2 r(epair) [options] <par2 file> [files]
This post has been edited by user on Nov 13 2003, 10:47 AM