Skip to content

Exporting to Day One

Brett Terpstra edited this page Jan 12, 2022 · 1 revision

You can generate Day One entries from your Doing files using the dayone Output Formats. These will work with any command that takes an --output flag, including commands like show and today.

Using a command like show, you can filter a collection of entries by date, time, tags, and/or search terms. Using the --output dayone flag, you can send the results directly to your Day One journal.

The --output dayone export format creates a new Day One Journal entry at the current time containing all of the entries that were matched by the command. These are formatted based on the dayone template. If you want to modify the formatting, follow the directions for Customizing an Export Template.

The --output dayone-days export format groups the entries output by the command by day and creates a Journal entry on each day. These are formatted using the dayone template.

The --output dayone-entries export format creates a single Journal entry for each entry output by the command. Use this carefully, if your command outputs 20 results, you'll get 20 Day One entries. The format of these entries is determined by the dayone_entry template.