1 | echo ".dump" | sqlite3 old.db | sqlite3 new.db
|
Explanation: pipe “.dump” to sqlite and use that output (the dump itself) to fill the new.db database.
1 | echo ".dump" | sqlite3 old.db | sqlite3 new.db
|
Explanation: pipe “.dump” to sqlite and use that output (the dump itself) to fill the new.db database.
Comments