par2: add page (#12633)

pull/28/head
Sophia Behling 2024-04-11 18:10:24 +02:00 committed by GitHub
parent 771b9444d1
commit f08cf72ae5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

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}}`