Script to convert .agenda (apple agenda notebook export) to .enex (evernote notebook export)
| Item | Converted |
|---|---|
| Text | ✅ |
| List | ✅ |
| Embedded objects | |
| 0: Hashtag | Plain text with # prefix |
| 1: Mention | Plain text with @ prefix |
| 2: | Plain text |
| 3: | Plain text |
| 4: | Plain text |
| 5: Hyperlink | ✅ |
| 6: Agenda internal link to other note | ❌ |
| 7: Attachment | ✅ |
| 8: | Plain text |
| 9: Action list | Plain text |
Zip archive with following structure
.agenda
├── Archive
│ ├── Attachments
│ │ ├── *
│ ├── Data.json
XML format. Official sample here
Run make gen to generate extension-to-mime mappings into mmap.go to be used in main module.
Alternatively,
go run ./mmap ./mmap/mime.types > mmap.go
go fmt .Run make all to build binaries (see Makefile)
Run ./bin/agenex input_folder output_folder to convert all .agenda in input_folder to .enex in output_folder