May 26, 2009


Its not finished, but its close to be! many bugs yet to finish and many to-do in the code yet to protect from disaster soo... Use at your risk, make backups (tomboy folder and notes.db) before proceed. I am not responsible for any loss of data. : )

Prepare to sync:

  1. Create a folder and put sync.db and sync.pl
  2. copy sync.db to sync.empty.db (just a backup in case you need re-start)
  3. close tomboy
  4. backup your tomboy data folder ( ~/.tomboy/ )
  5. open tomboy
  6. pray to do not have tomboy notes with same title as iphone notes (i did not fix title collisions yet)
To sync:
  1. close notes app into your iphone
  2. Copy notes.db from your iphone (at /User/Library/Notes) to your computer
  3. run sync.pl (you see lot of debug and actions)
  4. run sync.pl again (now you see no note to change)
  5. copy notes.db from your computer to your iphone
  6. open notes app into iphone
I still have some issues to fix:
  1. Notes with changes in both sides (tomboy and iphone) are not synced (i have to add merge logic).
  2. New notes with same title in tomboy and iphone enter in title collision. Tomboy do not like that! I have to handle this.
  3. I dont know why, iphone create timestamps different than perl-sqlite module! The weirdo thing is iphone understand the date, but do not sort the notes correctly
have fun : )

Posted by
Categories: By ,

0 comments:

 
>