Migrating my plain text files

My first exposure to using text files to store little bits of information came from Merlin Mann on a Mac Power Users episode.1 This is one of those episodes I consider part of the foundation of my personal automation path. Using Merlin's text file tag names has been a key to how I've dumped digital information head out of my head over the past 10 years.

My choice for a long has been to use Editorial for iOS and nvAlt on my Mac to access my notes anywhere. These apps gave me the ability to run similar automation on either platform by using the automation tools in Editorial or Keyboard Maestro macros for nvAlt. I recently ran into a small issue with Editorial and went to check the forums to see if anyone else had some suggestions. When I got to the forums I was bummed to see the title for one of the recent posts - Editorial still alive? 2 Looking at Ole's twitter feed makes me think neither Editorial nor Pythonista are going to be updated soon.

Migrating from nvAlt to Drafts

With this information, I wanted to find a new home for my notes but continue to be able to use the same tools on both Mac and iOS devices. The list of choices had to be 1) an app I already had and 2) have used more than once. The obvious choice was Drafts, but the dilemma was how to get 10 years worth of notes into Drafts.5

I headed over to the Drafts forums and as expected the forums did not disappoint. A quick search and I found someone had already asked about this topic: Bulk import text files:

Poking around the forum post I saw exactly what I was looking for. 3

Taking this starting point, I adapted his action script to accommodate I few of my own needs:

My plan is after all my plain text files are added into Drafts I can use a dedicated workspace for all my nvAlt notes. So the script Greg provided was modified to use the first full word of the .MD file name as a tag and tag the note nvalt as well.4

Going in reverse

If I've learned anything about my automation processes, it's sometimes I need a path to undo my genius ideas. I'll continue to use my nvAlt file tagging style by using the first line on Draft to be the same as my nvAlt file name. This will allow me to use a Drafts action to push notes from Drafts back into my Markdown text file folder.

I'll give this new setup a couple of weeks and report back if I've committed to giving up my old tools.

  1. You can jump to the 1h17m mark in the show to hear Merlin discuss the use of tags on text files - RUNX, REFX, MTGX, etc. 

  2. Not the confidence builder for an app you consider "essential".  

  3. No surprise that Greg offered the solution himself.  

  4. I'm split on whether or not tags should allow capitalization. 

  5. 1159 and counting... 

Previous posts:

  1. Getting OmniFocus 3 Task List on Paper (like real paper)

    A new year always brings out the hopeful GTD'er in me. I was doing my year end review and noticed some holes in how I was tracking my work and how well I was finishing what I wanted to get done. Too often I was reverting back to latest/loudest …

  2. Triggering events on macOS from iOS

    With my updated Mac mini 1, I've started getting back into looking at automation ideas for my home setup. A recent Mac Power Users podcast hit close to home for me because it was a great discussion by David and Stephen on the recently updated Mac mini. David and Stephen …

  3. Rationalizing my choices for the Mac Mini

    My recent internal deliberations on what to replace my ailing computer setup has led to quite a few false starts on what I put into my virtual shopping cart. As much as I wanted to love the new MacBook Air, the power and flexibility didn't hit enough cylinders to trigger …

  4. Pondering next computer purchase

    Like a lot of Apple fans, I watched the presentation by Tim Cook and Co. last Tuesday about Apple’s new fall product releases. The order that Apple presented their new products was absolute genius.

    • Mac Book Air: Here’s a gorgeous new mobile device.
    • Mac Mini: Here’s a …
  5. Limiting the voices of my Monkey brain

    For a while I've been training in Tae Kwon Do.1 Most of the training has been the physical side of martial arts and self defense. I had the opportunity recently to participate in a different kind of self defense course called 'Violence Dynamics'. The concept of the course is …