Quote:
|
Originally Posted by pascal perhaps there is a way to do the same with sms? |
Yes! It is possible. The question is: What to do with the data?

I am using thunderbird. Will work next days in a C program to read from native.db and get usefull information in a .csv format (contacts, sms, mails, calentar info, todo items),
which can be later importable (manually) from thunderbird/evolution/kmail.
The cool thing to do, however, would be a two-way synchro tool, but in this case we should limite us to only one mail/calentar app. What you think? Which is the mail/calendar app that you use most in your Linux?
Here is a script to get the sms, the messages are a little mess up, but it is a beginning
matías
----------------- get_sms.sh
#!/bin/sh
# get data in kk file
db4.2_dump -p native.db | awk '
/DATA=END/ { f=0; }
/HEADER=END/ { if (f==2) f=1; }
/database=ems_table_in_flash/ { f=1 }
/.*/ { if (f==1) print $0 ; } ' > kk
# filters some chars
for i in 's/\\\00//g' 's/\\\02//g' 's/\\.\{2\}/ /g'
do
echo $i
cat kk | sed "$i" > kk.tmp
mv kk.tmp kk
done
# print and filter first 14 chars
cat kk | awk '{ print substr($0,14)}'
rm -f kk
#-----------------------------------