Skip to content

kevin1/OhLife2DayOne

Repository files navigation

Migrate OhLife entries to Day One

Rationale

There are a lot of programs to migrate a text file exported from OhLife to Day One, but none of them did exactly what I want. For example, most of them would insert two line breaks because OhLife uses \n\r when exporting, and not just \n. (While this didn't make a difference in Day One's Markdown parsing, it still bothered me.)

Usage

  1. Export your OhLife entries.
  2. Install Day One.
  3. Install the Day One CLI.
  4. Run this program!
cd OhLife2DayOne
javac *.java
java OhLife2DayOneTester /path/to/ohlife_20131031.txt "10:00:00 PM"

Note: OhLife doesn't save the time of entries, but Day One does. Use the second argument to specify the time to set in Day One when importing entries.

Tips

  1. If you already have entries, go to File > Back Up Journal before using this.
  2. If you have a lot of entries, quit Day One to make things go faster.
  3. Use at your own risk.

Questions?

@kevinchen on Twitter

About

Migrate your OhLife entries to Day One without messing up the line endings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages