|
Last change
on this file was
3983,
checked in by westram, 20 years ago
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
518 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | if [ -z "$2" ]; then |
|---|
| 4 | echo "Usage: arb_repair database outputdatabase [-m] [-r] [-c[tree_xxx]]" |
|---|
| 5 | echo " -m create map file too" |
|---|
| 6 | echo " -r try to repair destroyed database" |
|---|
| 7 | echo " -c[tree_xxx] optimize database using tree_xxx or largest tree" |
|---|
| 8 | else |
|---|
| 9 | echo "Repairing database $1 .. get yourself a coffee. :)" |
|---|
| 10 | echo "" |
|---|
| 11 | echo "Running 'arb_2_ascii $1 - | arb_2_bin $3 $4 $5 - $2'" |
|---|
| 12 | arb_2_ascii $1 - | arb_2_bin $3 $4 $5 - $2 |
|---|
| 13 | ls -al $1 $2 |
|---|
| 14 | fi |
|---|
Note: See
TracBrowser
for help on using the repository browser.