snippetbashTip
par2 — File verification and repair using PAR 2.0 compatible parity archives (.par2 files). More informatio
Viewed 0 times
par2commandverificationrepairandclifileusing
Problem
How to use the
par2 command: File verification and repair using PAR 2.0 compatible parity archives (.par2 files). More information: <https://github.com/Parchive/par2cmdline/>.Solution
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}}Code Snippets
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}}Context
tldr-pages: common/par2
Revisions (0)
No revisions yet.