Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#1
Hi there!

Does anybody knows what format are in .db files from:
/home/user/.osso-abook/

Those .db files contain all contacts information, but they are not sqlite databases as el.db file with sms messages for example. How can I change those files from command line (add/edit/remove contacts)?
 
Posts: 479 | Thanked: 641 times | Joined on Dec 2007 @ Switzerland
#2
Those are Berkeley-db (also known as sleepycat, or BDB) database files, if memory serves well.

I don't know (yet) if easy-to-use program exist that can interact with those files, but I believe so, since they are so widespread, someone has probably already wrote something

Addendum:
By the way, you are not supposed to interact directly with those files...you should instead use the API provided for that.

Last edited by lorelei; 2009-12-28 at 15:08. Reason: added some more info
 
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#3
Thank you. But my goal is to manage contacts from command line. I'll google for Berkeley-DB client for linux.
 
Posts: 642 | Thanked: 486 times | Joined on Aug 2008
#4
I know subversion stores their files in berkley DB format.

That may be a good place to start.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:27.