### License Notice Example Source: https://parchive.github.io/doc/Parity%20Volume%20Set%20Specification%20v2.0.html An example of how to include the GNU Free Documentation License notice in your own documents. ```text Copyright (c) YEAR YOUR NAME. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". ``` -------------------------------- ### Example 1: Basic File Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html Chunk description for a 10,000-byte file following the pattern 'abcdefghij'. Fingerprint and rolling hashes are omitted for clarity. ```text {length=10000, firstblockindex=0} ``` -------------------------------- ### Repair files using par2cmdline (from source) Source: https://parchive.github.io/ Example command to repair files using the par2cmdline utility after installing from source. ```bash par2 repair *.par2 ``` -------------------------------- ### Repair files using par2cmdline (Ubuntu/Debian) Source: https://parchive.github.io/ Example command to repair files using the par2cmdline utility installed via apt. ```bash sudo apt install par2 par2 repair *.par2 ``` -------------------------------- ### Get par2cmdline help Source: https://parchive.github.io/ Commands to get help documentation for the par2cmdline client. ```bash par2 --help man par2 par2cmdline --help man par2cmdline ``` -------------------------------- ### Example 2: File with a Tail Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html Chunk description for an 11,000-byte file following the pattern 'abcdefghijk'. ```text {length=11000, firstblockindex=0, tailblockindex=5, tailoffset=0} ``` -------------------------------- ### Example 4: Tail Packing and Small File Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html Chunk descriptions for a 3,000-byte file ('abc') and a 1,000-byte file ('z') demonstrating tail packing. ```text {length=3000, firstblockindex=0, tailblockindex=1, tailoffset=0} ``` ```text {length=1000, tailblockindex=1, tailoffset=1000} ``` -------------------------------- ### Repair files using par2cmdline (Arch/Antergos) Source: https://parchive.github.io/ Example command to repair files using the par2cmdline utility installed via pacman. ```bash sudo pacman -S par2cmdline par2 repair *.par2 ``` -------------------------------- ### Example 5: Tiny File with Tail Data Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html Chunk descriptions for a 3,000-byte file ('abc') and a 10-byte file ('qrstuvwxyz') with inline tail data. ```text {length=3000, firstblockindex=0, tailblockindex=1, tailoffset=0} ``` ```text {length=10, taildata="qrstuvwxyz"} ``` -------------------------------- ### Window After New Block Initialization Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html The window state after no matches are found and a new preliminary chunk is started with a new input block. ```text W=[00011122233] ``` -------------------------------- ### Example 3: File Using Multiple Chunks Source: https://parchive.github.io/doc/Parity_Volume_Set_Specification_v3.0.html Chunk descriptions for a new 15,000-byte file ('abcde0123fghijk') derived from an old version, showing data reuse and insertion. ```text {length=5000, firstblockindex=0, tailblockindex=2, tailoffset=0} {length=5000, firstblockindex=6, tailblockindex=2, tailoffset=1000} {length=5000, firstblockindex=3, tailblockindex=5, tailoffset=0} ```