how do i sync two places.sqlite..?
-
mozilla firefox will store all bookmarks in places.sqlite file... i am writing small utility which will sync two places.sqlite file bookmarks....
-
If I understand your question rgith, there is no need to have any knowledge of the internals in this case. The easiest thing to do would be to compare the file date and replace the oldest one with the newer.
-
mozilla firefox will store all bookmarks in places.sqlite file... i am writing small utility which will sync two places.sqlite file bookmarks....
I'm guessing it's an SQLite database file. Standard procedure is to use SQL. Connect to the database and execute your queries. There are also C APIs[^] for doing this, still needing SQL though. It's well documented and there are plenty of samples around. Use sqlite3_open_v2()[^] to open the file, and sqlite3_exec()[^] to execute your queries. Good luck!