ubimport − A tool to convert bibles in Unbound Bible format to MQL for importing into Emdros
ubimport [ options ]
ubimport is a command-line tool to convert bibles in Unbound Bible format (http://unbound.biola.edu) to MQL, for easy importing into Emdros.
ubimport
supports the following command-line switches:
−−help
show help
−V , −−version
show version
−d , −−dbname dbname
set database name to use at the top of the MQL. If not set, the "CREATE DATABASE ... USE DATABASE" incantation won’t be issued.
−i , −−input filename
read from file filename. This must be a bible in valid Unbound Bible format. The default filename is "-", which means "standard input".
−o , −−output filename
dump to file filename. The default is "-", which means "standard output".
−b , −−backend backend
set database backend to ‘backend’. Valid values are: For PostgreSQL: "p", "pg", "postgres", and "postgresql". For MySQL: "m", "my", and "mysql". For SQLite 2.X.X: "2", "s", "l", "lt", "sqlite", and "sqlite2". For SQLite 3.X.X: "3", "s3", "lt3", and "sqlite3".
0
Success
1 Wrong usage
2 Connection to backend server could not be established
3 An exception occurred (the type is printed on stderr)
4 Could not open file
5 Database error
6 Compiler error (internal error)
Written Ulrik Sandborg-Petersen (ulrikp@emdros.org).