chuggerguy

par2 example

Jun 10th, 2026
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. chugger@asus2:~/desktop$ tree foo
  2. foo
  3. ├── 01 - Riverside.flac
  4. ├── 02 - Sandman.flac
  5. ├── 03 - Three Roses.flac
  6. └── images
  7. └── front.jpg
  8.  
  9. 2 directories, 4 files
  10. chugger@asus2:~/desktop$ par2create -r50 -n1 -R "foo/foo" foo
  11.  
  12. Block size: 40116
  13. Source file count: 4
  14. Source block count: 2000
  15. Recovery block count: 1000
  16. Recovery file count: 1
  17.  
  18. Opening: 02 - Sandman.flac
  19. Opening: 01 - Riverside.flac
  20. Opening: 03 - Three Roses.flac
  21. Opening: images/front.jpg
  22. Computing Reed Solomon matrix.
  23. Constructing: done.
  24. Wrote 40116000 bytes to disk
  25. Writing recovery packets
  26. Writing verification packets
  27. Done
  28. chugger@asus2:~/desktop$ tree foo
  29. foo
  30. ├── 01 - Riverside.flac
  31. ├── 02 - Sandman.flac
  32. ├── 03 - Three Roses.flac
  33. ├── foo.par2
  34. ├── foo.vol0000+1000.par2
  35. └── images
  36. └── front.jpg
  37.  
  38. 2 directories, 6 files
  39. chugger@asus2:~/desktop$ rm foo/01\ -\ Riverside.flac foo/images/*
  40. chugger@asus2:~/desktop$ tree foo
  41. foo
  42. ├── 02 - Sandman.flac
  43. ├── 03 - Three Roses.flac
  44. ├── foo.par2
  45. ├── foo.vol0000+1000.par2
  46. └── images
  47.  
  48. 2 directories, 4 files
  49. chugger@asus2:~/desktop$ par2repair foo/foo.par2
  50. Loading "foo.par2".
  51. Loaded 10 new packets
  52. Loading "foo.vol0000+1000.par2".
  53. Loaded 1000 new packets including 1000 recovery blocks
  54.  
  55. There are 4 recoverable files and 0 other files.
  56. The block size used was 40116 bytes.
  57. There are a total of 2000 data blocks.
  58. The total size of the data files is 80174166 bytes.
  59.  
  60. Verifying source files:
  61.  
  62. Target: "01 - Riverside.flac" - missing.
  63. Opening: "02 - Sandman.flac"
  64. Opening: "03 - Three Roses.flac"
  65. Target: "03 - Three Roses.flac" - found.
  66. Target: "images/front.jpg" - missing.
  67. Target: "02 - Sandman.flac" - found.
  68.  
  69. Scanning extra files:
  70.  
  71.  
  72. Repair is required.
  73. 2 file(s) are missing.
  74. 2 file(s) are ok.
  75. You have 1507 out of 2000 data blocks available.
  76. You have 1000 recovery blocks available.
  77. Repair is possible.
  78. You have an excess of 507 recovery blocks.
  79. 493 recovery blocks will be used to repair.
  80.  
  81. Computing Reed Solomon matrix.
  82. Constructing: done.
  83. Solving: done.
  84.  
  85. Wrote 19730031 bytes to disk
  86.  
  87. Verifying repaired files:
  88.  
  89. Opening: "images/front.jpg"
  90. Opening: "01 - Riverside.flac"
  91. Target: "images/front.jpg" - found.
  92. Target: "01 - Riverside.flac" - found.
  93.  
  94. Repair complete.
  95. chugger@asus2:~/desktop$ tree foo
  96. foo
  97. ├── 01 - Riverside.flac
  98. ├── 02 - Sandman.flac
  99. ├── 03 - Three Roses.flac
  100. ├── foo.par2
  101. ├── foo.vol0000+1000.par2
  102. └── images
  103. └── front.jpg
  104.  
  105. 2 directories, 6 files
  106. chugger@asus2:~/desktop$
  107.  
Advertisement
Add Comment
Please, Sign In to add comment