tnlx / agenex

A CLI tool to convert .agenda to .enex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

agenex

License: MIT

Script to convert .agenda (apple agenda notebook export) to .enex (evernote notebook export)

Supported objects & styles

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

Specs

.agenda

Zip archive with following structure

.agenda
├── Archive
│   ├── Attachments
│   │   ├── *
│   ├── Data.json

.enex

XML format. Official sample here

Development

Generate extension-to-mime mappings

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 .

Build binaries

Run make all to build binaries (see Makefile)

Usage

Run ./bin/agenex input_folder output_folder to convert all .agenda in input_folder to .enex in output_folder

About

A CLI tool to convert .agenda to .enex

License:MIT License


Languages

Language:Go 98.2%Language:Makefile 1.8%