File: test5

package info (click to toggle)
par2cmdline 0.4-11
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 1,184 kB
  • ctags: 950
  • sloc: cpp: 8,566; sh: 3,515; makefile: 50
file content (17 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

cd testdir || { echo "ERROR: Could not change to test directory" ; exit 1; } >&2

banner="Creating 100% PAR 2.0 recovery data"
dashes=`echo "$banner" | sed s/./-/g`

echo $dashes
echo $banner
echo $dashes

../par2 c -r100 -b190 newtest test-*.data > ../test5.log || { echo "ERROR: Creating PAR 2.0 data failed" ; exit 1; } >&2

rm -f ../test5.log

exit 0;