![]() If you wish to create PAR2 files for a single source file, you may leave out the name of the PAR2 file from the command line. : Treat all following arguments as filenames B : Set the basepath to use as reference for the datafiles ![]() S : Skip leaway (distance +/- from expected block position) N : data skipping (find badly mispositioned data blocks) R : Recurse into subdirectories (only useful on create) p : Purge backup files and par files on successful recovery or t : Number of threads to use (Auto-detected) n : Number of recovery files (don't use both -n and -l) l : Limit size of recovery files (don't use both -u and -l) c : Recovery block count (don't use both -r and -c) r : Redundancy target size, =g(iga),m(ega),k(ilo) bytes s : Set the Block-Size (don't use both -b and -s) Required on create, optional for verify and repair To compile on Linux and other Unix variants use the following commands: You should then copy par2cmdline.exe to an appropriate location that is on your path. NET, then just open the par2cmdline.sln file and compile. NOT TESTED WITH PAR2CMDLINE-MT If you have MS Visual Studio. If you have only downloaded a precompiled executable, then the source code should be available from the same location where you downloaded the executable from. You may optionally have received a precompiled version of the program for your operating system. You should have received par2cmdline in the form of source code which you can compile on your computer. This disadvantage is considerably mitigated by the fact that you don't need to create as much recovery data in the first place to provide the same level of protection against loss and damage. All PAR 2.0 program will take somewhat longer to create recovery files than a PAR 1.0 program does.PAR 2.0 requires less recovery data to provide the same level of protection from damage compared with PAR 1.0. You can protect up to 32768 files rather than the 256 that PAR 1.0 is limited to.ĭamaged or incomplete recovery files can also be used during the recovery process in the same way that damaged data files can. It is therefore not necessary to create as much recovery data in the first place to achieve the same level of protection. Recovery files may be of different sizes making it possible to obtain exactly the amount of recovery data required to carry out a repair.īecause damaged data files are still useable during the recovery process, less recovery data is required to achieve a successful repair. It is possible to repair damaged files (using exactly the amount of recovery data that corresponds to the amount of damage), rather than requiring the complete reconstruction of the damaged file. There is no loss of efficiency when operating on multiple files of different sizes. It is not necessary to split a single large file into many equal-sized small files (although you can still do so if you wish). Par2cmdline is a program for creating and using PAR2 files to detect damage in data files and repair them if necessary. This is also the place for details on the PAR 2.0 specification and discussion of all things PAR. The original development was done on Sourceforge but stalled.įor more information from the original authors see Par2cmdline-mt is a multithreaded (OpenMP) PAR 2.0 compatible file verification and repair tool. ![]() OpenMP version is now merged to upstream use instead
0 Comments
Leave a Reply. |