par2: add page (#12633)

This commit is contained in:
Sophia Behling
2024-04-11 18:10:24 +02:00
committed by GitHub
parent 771b9444d1
commit f08cf72ae5

20
pages/common/par2.md Normal file
View File

@@ -0,0 +1,20 @@
# par2
> File verification and repair using PAR 2.0 compatible parity archives (.par2 files).
> More information: <https://github.com/Parchive/par2cmdline/>.
- Create a parity archive with a set percentage level of redundancy:
`par2 create -r{{1..100}} -- {{path/to/file}}`
- Create a parity archive with a chosen number of volume files (in addition to the index file):
`par2 create -n{{1..32768}} -- {{path/to/file}}`
- Verify a file with a parity archive:
`par2 verify -- {{path/to/file.par2}}`
- Repair a file with a parity archive:
`par2 repair -- {{path/to/file.par2}}`