I have a file DBDEFINITION.TXT that I want to use to initialize [execute on] the database DB.SQLITE.
How do I do something like $ sqlite3 -exec DBDEFINITION.TXT DB.SQLITE $ ? All methods I tried end me up in the SQLite prompt, and that is what I don't want. Like, doing sqlite3 -init DBDEFINITION.TXT DB.SQLITE and having ".quit" as last line in the definition file. Thanks.