Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Feb 2011
#1
Hello.

I've recently found a way to send my texts from my N900 to my PC, thanks to some very smart people. The solution would be:

" Start xterm and type the following code
~ $ sqlite3 .rtcom-eventlogger/el-v1.db "select * from events where event_type_id in (7,8) order by id;"
> /home/user/MyDocs/sms.txt "

Fine and dandy, but I have a question. What has to be modified in order to have all of the texts organized first by contact, and secondly by date? I would really like to see all the texts from all my contacts one after the other. I've done a little sql language, and I would like to know what the columns of the table are here. I'd like to select only the actual text message, contact number, and eventually the date and time, but without the "ring/tel/ring self handle"

An example of an entry:
31|3|7|1294511062|1294511062|0|1|0|0|0|ring/tel/ring|<SelfHandle>|+407354*****||*actual text message*|54*****|1|0

What are the other numbers and what do they mean ?

Thank you in advance!
 
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#2
try ".schema events"
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#3
And try some sed & awk on the output.
 
Posts: 3 | Thanked: 0 times | Joined on Feb 2011
#4
Thank you for the reply, guys! But I have to say, I do not really understand what I should do. Please explain like you would for a totally new guy to this stuff (which I am).

Write in x term this: "......". The entire thing, please )
 
Posts: 249 | Thanked: 277 times | Joined on May 2010 @ Brighton, UK
#5
Teaching you SQL (let alone SQLite's dialect of it) is somewhat beyond the time I have available.
 

The Following User Says Thank You to mr_jrt For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#6
Are you using a Windows PC? Ovi suite can do this for you. Also, there are rumours there's an OSS tool on the horizon that will be capable of synching all coversations (including MMSs) with a second (?master) device. Not from me but you know who you are :-).
 
Posts: 671 | Thanked: 1,630 times | Joined on Aug 2010
#7
have you tried glogarchive ?

it can export to csv spreeadsheet where you can sort as you wish...

Originally Posted by LightningAlex View Post
Hello.

I've recently found a way to send my texts from my N900 to my PC, thanks to some very smart people. The solution would be:

" Start xterm and type the following code
~ $ sqlite3 .rtcom-eventlogger/el-v1.db "select * from events where event_type_id in (7,8) order by id;"
> /home/user/MyDocs/sms.txt "

Fine and dandy, but I have a question. What has to be modified in order to have all of the texts organized first by contact, and secondly by date? I would really like to see all the texts from all my contacts one after the other. I've done a little sql language, and I would like to know what the columns of the table are here. I'd like to select only the actual text message, contact number, and eventually the date and time, but without the "ring/tel/ring self handle"

An example of an entry:
31|3|7|1294511062|1294511062|0|1|0|0|0|ring/tel/ring|<SelfHandle>|+407354*****||*actual text message*|54*****|1|0

What are the other numbers and what do they mean ?

Thank you in advance!
__________________
Three n900s: One for stable working platform,
One for development testing Chopping Onions
One for saltwater immersion power testing resurrected ! parts scavenging

My Mods for Wonko's Advanced Clock Plugin:
ISO8601 clock mod and Momental_IST clock mod

Printing your Email with the N900

Last edited by theonelaw; 2011-10-28 at 00:01.
 
Reply


 
Forum Jump


All times are GMT. The time now is 15:58.