The notes I had on my local computer have recently vanished. I tried converting the files found in the "Notes backup" location to HTML as suggested by this site but that only yielded 1 useful note.
I recently discovered that if I search for a certain keyword I KNOW will be in the note, that it will still pop up via Spotlight and moreover the whole note will be scrollable. Unfortunately, I can't copy/paste those contents (only scroll) and I don't remember all the notes to even be able to search for them.
I don't imagine the Spotlight index will last long....
Question: Is there some code I could run in the terminal which would convert/export all the indexed "Notes" contained in the Spotlight Index to some easily accessible form? (e.g. generate text files into some folder on my desktop)
Edit: Time Machine was not turned on.
Edit/Solved: I managed to get my notes back by removing all the accounts I had within apple.