Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chugger@asus2:~/desktop$ tree foo
- foo
- ├── 01 - Riverside.flac
- ├── 02 - Sandman.flac
- ├── 03 - Three Roses.flac
- └── images
- └── front.jpg
- 2 directories, 4 files
- chugger@asus2:~/desktop$ par2create -r50 -n1 -R "foo/foo" foo
- Block size: 40116
- Source file count: 4
- Source block count: 2000
- Recovery block count: 1000
- Recovery file count: 1
- Opening: 02 - Sandman.flac
- Opening: 01 - Riverside.flac
- Opening: 03 - Three Roses.flac
- Opening: images/front.jpg
- Computing Reed Solomon matrix.
- Constructing: done.
- Wrote 40116000 bytes to disk
- Writing recovery packets
- Writing verification packets
- Done
- chugger@asus2:~/desktop$ tree foo
- foo
- ├── 01 - Riverside.flac
- ├── 02 - Sandman.flac
- ├── 03 - Three Roses.flac
- ├── foo.par2
- ├── foo.vol0000+1000.par2
- └── images
- └── front.jpg
- 2 directories, 6 files
- chugger@asus2:~/desktop$ rm foo/01\ -\ Riverside.flac foo/images/*
- chugger@asus2:~/desktop$ tree foo
- foo
- ├── 02 - Sandman.flac
- ├── 03 - Three Roses.flac
- ├── foo.par2
- ├── foo.vol0000+1000.par2
- └── images
- 2 directories, 4 files
- chugger@asus2:~/desktop$ par2repair foo/foo.par2
- Loading "foo.par2".
- Loaded 10 new packets
- Loading "foo.vol0000+1000.par2".
- Loaded 1000 new packets including 1000 recovery blocks
- There are 4 recoverable files and 0 other files.
- The block size used was 40116 bytes.
- There are a total of 2000 data blocks.
- The total size of the data files is 80174166 bytes.
- Verifying source files:
- Target: "01 - Riverside.flac" - missing.
- Opening: "02 - Sandman.flac"
- Opening: "03 - Three Roses.flac"
- Target: "03 - Three Roses.flac" - found.
- Target: "images/front.jpg" - missing.
- Target: "02 - Sandman.flac" - found.
- Scanning extra files:
- Repair is required.
- 2 file(s) are missing.
- 2 file(s) are ok.
- You have 1507 out of 2000 data blocks available.
- You have 1000 recovery blocks available.
- Repair is possible.
- You have an excess of 507 recovery blocks.
- 493 recovery blocks will be used to repair.
- Computing Reed Solomon matrix.
- Constructing: done.
- Solving: done.
- Wrote 19730031 bytes to disk
- Verifying repaired files:
- Opening: "images/front.jpg"
- Opening: "01 - Riverside.flac"
- Target: "images/front.jpg" - found.
- Target: "01 - Riverside.flac" - found.
- Repair complete.
- chugger@asus2:~/desktop$ tree foo
- foo
- ├── 01 - Riverside.flac
- ├── 02 - Sandman.flac
- ├── 03 - Three Roses.flac
- ├── foo.par2
- ├── foo.vol0000+1000.par2
- └── images
- └── front.jpg
- 2 directories, 6 files
- chugger@asus2:~/desktop$
Advertisement
Add Comment
Please, Sign In to add comment