OhLife2DayOne icon indicating copy to clipboard operation
OhLife2DayOne copied to clipboard

Convert OhLife entries to Day One

ohlife2dayone.pl

BooneJS (http://boonejs.tumblr.com) Use and modify freely, attribution appreciated. Thanks!

Description

This script works with the Day One command line utility that can be downloaded from http://dayoneapp.com/tools/. The input to this script is the exported text file from OhLife.com (https://ohlife.com/export). Clicking the "Export" button will save a .txt file to ~/Downloads/ohlife_YYYYMMDD.txt.

Script idea was born after reading http://brettterpstra.com/logging-with-day-one-geek-style/

Please backup your Day One archive before you attempt to use this script. Although it works for me, I don't guarantee anything!

Usage

  1. Install Day One CLI from the page Tools | Day One
  2. Save this file someplace (~/Downloads, perhaps?)
  3. Open a Terminal in OS X (/Applications/Utilities/Terminal.app)
  4. chmod +x ~/Downloads/ohlife2dayone.pl
  5. cat ~/Downloads/ohlife_YYYYMMDD.txt | ~/Downloads/ohlife2dayone.pl