Skip to content
Go from an ohlife export to a set of DayOne entries
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
ohlife-to-dayone.rb

README.md

ohlife-to-dayone.rb

This script parses a text file exported from ohlife, with multiple "entries" with the following format:

YYYY-mm-dd

This is my entry.

And creates a new DayOne entry for each date, content pair. For each entry added you will see a printout, like this:

New entry : ~/path/to/some/entry.doentry

Assumptions

  • File starts with a date.
  • No error checking!
  • Assumes entries are from 2011 or 2012.

Credit to:

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.