Convert plain text notes stored in Notational Velocity or nvALT to an .enex file to import into Evernote.
While Evernote can import a folder of plain text files as notes, it does not preserve their metadata. This script preserves a note's creation time, modified time, and OpenMeta tags.
- OS X
- Python 3
- The Python packages listed in
requirements.txt
(install withpip3 install -r requirements.txt
)
- Save
nvalt2evernote.py
somewhere on your computer. - Modify
note_files
to point to the notes you want to import- When I ran this, I copied my notes from
~/Dropbox/Notational Velocity
to./Notes
, for convenience - You may need to run the script multiple times for each file type you use. I had both
.txt
and.md
files.
- When I ran this, I copied my notes from
- Modify
out_file
to the name of the final Evernote export file. - Run the script.