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. What time is it?

    As much as things have been turned upside down the past couple of months, it's sometimes nice to have a "lively debate". 1 The recent discussion I participated in revolved around a specific part of a sentence that stated:

    "...requirement begins at midnight Friday, July 24..."

    Oh... so this begins …

  2. Extending BIRT's hidden parameters - Pt 2

    I've continued to experiment with the use of Maximo BIRT's hidden parameter. In my previous post I was able to display values that were generated by related information of the Maximo user who ran the report. But the original data selection used the hidden username parameter in the SQL where …

  3. Extending the use of Maximo's hidden BIRT parameter

    One of the common queries used by Maximo power users is:

    siteid = (select defsite from maxusers where userid = :user)

    This selection limits records to the default site the current Maximo user is checked into. So if a query is saved for future use, it will work with any site a …

  4. Conditionally make 'Memo' a requirement

    I will always admit I get inspiration on how I administer my company's Maximo environment from other sources. The most recent update I've made to our Maximo environment was based on a something I've had on the back burner, but got a virtual nudge from Steven Shull (@shullsa) after reading …

  5. Controlling BIRT Chart Colors in Maximo

    One of the efforts I'm making as we head into 20201 is data consistency. I started looking at some of our key reports and noticed that as our maturity evolved, our reports evolved as well, but sometimes in a disjointed way. We'd discover a new technique in BIRT or …