Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agreatfool/dayone2md

Dump all dayone posts to local disk md files
https://github.com/agreatfool/dayone2md

Last synced: 17 days ago
JSON representation

Dump all dayone posts to local disk md files

Awesome Lists containing this project

README

        

# dayone2md

Dump all dayone posts to local disk as md files

## How to use

1 use this tool to generate the slug mapping json file, since some title could not be converted to slug directly:

```bash
$ dayone2md -d ~/Downloads -a mapping
```

2 edit the mapping json, fill in all the slugs

3 execute the dump action

```bash
$ dayone2md -d ~/Downloads/your/obsidian/vault -m ~/Downloads/mapping.json -a execute
```

## Help

```bash
$ dayone2md -h
Usage: dayone2md [options]

Dayone2md application, supports only MacOS & Dayone2

Options:
-V, --version output the version number
-d, --dest directory of output destination
-m, --mapping file path of the post title slug mapping json file
-a, --action which action will be executed: execute | mapping (default: "execute")
-h, --help display help for command
```