Skip to content

xupeng/OhLife2DayOne

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

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 found in the Application Package. 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. Save this file someplace (~/Downloads, perhaps?)
  2. Open a Terminal in OS X (/Applications/Utilities/Terminal.app)
  3. chmod +x ~/Downloads/ohlife2dayone.pl
  4. cat ~/Downloads/ohlife_YYYYMMDD.txt | ~/Downloads/ohlife2dayone.pl

About

Convert OhLife entries to Day One

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%