How to repair corrupted Notes
I used to keep my notes on textedit files in a system of directories. Then Notes in Mountain Lion came along and I transferred everything into Notes. I enjoyed the promise of having everything synchronized to my devices and a place that brought all emails, documents, and web links that I would want in my notes together. Now some of my notes are corrupted: documents that I dragged into a note are not showing up or when they do and I click on them, Notes crashes. After some poking around, I discover that the data of Notes is stored in a database. How do I repair a corrupted Notes database?
MacBook Pro, OS X Mountain Lion