Coder Social home page Coder Social logo

karyslav / dayoneclassicmd-to-separete-markdown-files Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 20 KB

Convert Day One Classic MD export to Obsidian

Home Page: https://sobel.cz

License: GNU General Public License v3.0

dayone markdown obsidian-md

dayoneclassicmd-to-separete-markdown-files's Introduction

DayOneClassicMD-to-Separete-MarkDown-files

Convert Day One Classic MD export to Obsidian

This script is intended for OLD version of DayOne classic which can export single MerkDown file. In my example it is DayOne Classic version 1.10.6.

Instructions to integrate the script as a right-click service on macOS:

  1. Open the Automator app on your Mac.
  2. Choose File > New and select Quick Action.
  3. At the top, set the service to receive selected files or folders in Finder.
  4. Drag the Run AppleScript action to the workflow area.
  5. Replace the default AppleScript in the action with the script provided in repo.
  6. Save the service with a name like "Convert Day One Classic MD export to Obsidian".

Now, when you right-click a file in Finder, you should see the "Convert Day One Classic MD export to Obsidian" option in the context menu under Services. When you use this service on a file, it will process the file as described and save the entries in an "export" folder in the same directory as the file. If you run the service on the file again, it will update any changed entries and skip unchanged ones.

If you export the file from DayOne again, and place it in the same folder, run the export again, only changed and new entries will be added.

Filename of every item starts with time and date of creation, it is also set up as date of ceration of the file, followed by hash definig its contents (if there is a change).

Whole script is provided as it is, no guarantees given. I just want to make it public if anyone find it useful.

I used it for importing my writing notes to the Obsidian, so I have it in separate files and not a single one.

dayoneclassicmd-to-separete-markdown-files's People

Contributors

karyslav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.