diff options
Diffstat (limited to 'restore.sh')
-rwxr-xr-x | restore.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/restore.sh b/restore.sh new file mode 100755 index 0000000..316b3ec --- /dev/null +++ b/restore.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +go run restore.go < dump | sed -e 's|$|;|' -e 's|:/[^/]*/|:/|' | grep -v '\.' +#go run restore.go < dump | grep bank | sed -e "s|$| --target /bank|" -e "s|/bank||" -e 's|$|;|' | grep -v '\.' |