These PAR2 files will enable the recovery of up to errors totalling 40 MB of lost or damaged data from the original test. When posting on UseNet it is recommended that you use the -s option to set a blocksize that is equal to the Article size that you will use to post the data file. If you wanted to post the test. This will create 9 PAR2 files instead of 8, and they will be capable of correcting up to errors totalling 40 MB. It will take roughly 8 minutes to create the recovery files this time.
If you wish to create a greater or lesser quantity of recovery data, you can use the -r option. This would also create 9 PAR2 files, but they would be able to correct up to errors totalling 80 MB. Since twice as much recovery data is created, it will take about 16 minutes to do so with a MHz CPU. The -u and -n options can be used to control exactly how many recovery files are created and how the recovery blocks are distributed among them.
They do not affect the total quantity of recovery data created. The -f option is used when you create additional recovery data e. The -m option controls how much memory par2cmdline uses.
It defaults to 16 MB unless you override it. Therefore we can set the target size of the recovery files by issuing the following command:.
It makes no sense to set an insanely high recovery size. The command will make that the resulting sum of the PAR2 files approaches the requested size. It is an estimate so don't go too crazy. When creating PAR2 recovery files from multiple data files, you must specify the base filename to use for the par2 files and the names of all of the data files.
The filename test. When using PAR2 recovery files to verify or repair the data files from which they were created, you only need to specify the filename of one of the PAR2 files to par2cmdline:. This tells par2cmdline to use the information in test.
If all of the data files are OK, then par2cmdline will report that repair will not be required. Just had to modify it a bit had to give full path. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science. Featured on Meta. Collectives on Stack Overflow. Learn more. How to create par2 files multipar command line? Ask Question.
Asked 6 years, 1 month ago. Active 5 years, 1 month ago. Viewed 2k times. Improve this question. MichaelS 5, 6 6 gold badges 28 28 silver badges 43 43 bronze badges.
It's not clear fro your description or code what exactly the problem is. How do you execute this batch file?
Since twice as much recovery data is created, it will take about 16 minutes to do so with a MHz CPU. The " -u " and " -n " options can be used to control exactly how many recovery files are created and how the recovery blocks are distributed amoungst them.
They do not affect the total quantity of recovery data created. The " -f " option is used when you create additional recovery data. The " -m " option controls how much memory par2 uses. It defaults to 16 MB unless you override it. When creating PAR2 recovery files form multiple data files, you must specify the base filename to use for the par2 files and the names of all of the data files. The files filename "test. When using par2 recovery files to verify or repair the data files from which they were created, you only need to specify the filename of one of the par2 files to par2.
For example:. This tells par2 to use the information in test. Par2 will automatically search for the other par2 files that were created and use the information they contain to determine the filenames of the original data files and then to verify them.
If all of the data files are ok, then par2 will report that repair will not be required.
0コメント