tldr/pages/common/par2.md

21 lines
584 B
Markdown
Raw Normal View History

2024-04-11 17:10:24 +01:00
# 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}}`