
Originally Posted by
birdman81484
I got it up and running and i can view the data... just need to figure out how to easily copy it to a text file.
Use the commandline tool that comes with the SQLite distribution called "sqlite3" (usually). Here's a sample, super simple session to save the output of the table "sms" to a text file, comma-delimited (done on Linux but it's the same on Windows or Mac):
Code:
$ sqlite3 358279012590087.xml
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> .mode csv
sqlite> .output data.txt
sqlite> select * from sms;
sqlite> .quit
See this page to download the tools (all platforms): http://sqlite.org/download.html
Using that tool you can mine the databases in any way possible by creating SQL queries as complex as you need (joining tables for instance), or you can just do it like the above example and spit it out into files and manually connect the dots - your choice.
Here's a SQL query that will cross reference the SMS data with the People and Phones data and spit out your SMS info that includes the person's name in your Contacts:
Code:
$ sqlite3 358279012590087.xml
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> .mode csv
sqlite> .output smsconversations.csv
sqlite> select people.name, sms.address, sms.thread_id, sms.body from people,sms,phones where people._id=phones.person and sms.address=phones.number;
sqlite> .quit
You can pretty much do any standard SQL query. Use ".tables" to see the table names, and ".schema <table_name>" to see the description of that table's columns. Put 'em together like Legos.
Bookmarks