/macos-notes-extraction

Ultra-basic example script extracting MacOS notes to files

Primary LanguageShell

Background info:

To run:

  • Grant MacOS terminal the ability to copy the NotesStore.sqlite file:
    • "System Settings > Privacy and Security > Full Disk Access > Terminal"
    • this can be turned back off after running the script
  • From the terminal clone this repo:
  • From terminal run the script:
    • cd ~/macos-notes-extraction && ./extract-notes.sh

Extracted notes should appear as files in ~/macos-notes-extraction/notes

Limitations:

  • Plain text in notes is readable, but attachments such as images aren't decoded
    • The github link above looks like it might handle decoding attachments