Example:

[jim@mb ~]$ sqlite3 dummy
-- Loading resources from /Users/jim/.sqliterc
SQLite version 3.15.1 2016-11-04 12:08:49 with the Encryption Extension
Copyright 2016 Hipp, Wyrick & Company, Inc.
Enter ".help" for usage hints.
sqlite> create table t1(text);
sqlite> ^D

[jim@mb ~]$ ls -l dummy
-rw-r--r--  1 jim  staff  8192 Feb 21 10:23 dummy

[jim@mb ~]$ sqlite3 dummy2
-- Loading resources from /Users/jim/.sqliterc
SQLite version 3.15.1 2016-11-04 12:08:49 with the Encryption Extension
Copyright 2016 Hipp, Wyrick & Company, Inc.
Enter ".help" for usage hints.
sqlite> create table t2(text);
sqlite> ^D

[jim@mb ~]$ ls -l dummy2
-rw-r--r--  1 jim  staff  8192 Feb 21 10:24 dummy2

[jim@mb ~]$ sqlite3 dummy
-- Loading resources from /Users/jim/.sqliterc
SQLite version 3.15.1 2016-11-04 12:08:49 with the Encryption Extension
Copyright 2016 Hipp, Wyrick & Company, Inc.
Enter ".help" for usage hints.
sqlite> attach dummy2 as d2;
sqlite> .tables
d2.t2  t1
sqlite> .schema
CREATE TABLE t1(text);
sqlite> ^D

HashBackup: easy onsite and offsite Unix backup
http://www.hashbackup.com
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to