Follow Us

 

     Follow Us on Facebook  Follow Us on Twitter  Circle Us on Google+  Subscribe to RSS Feed  Get Updates Via Email

How to Sync MarsEdit Local Drafts Between Machines With Dropbox [Mac]

Maredit sync with dropbox

MarsEdit is now my Mac blogging platform of choice. Until recently, when I wanted to work on MarsEdit drafts on multiple machines, my workflow consisted of uploading a draft of my post to my blog, and then downloading it to my other machine. With a little bit of tinkering, you can do away with such a workaround, and use Dropbox to automate your workflow.

Over in the MarsEdit forums, user “a.jaffe” spells it out. His steps involve setting up symbolic links that point to a folder on Dropbox. Here’s how you do it, broken down into step-by-step instructions. Kudos to a.jaffe for these steps.

1. Make sure you have access to both machines that you want to be able to sync.

2. Quit MarsEdit on each of these machines.

3. Go to the machine that has drafts that you want to save, and decide where you want to store the local drafts on your dropbox. Like the forum user, I used ~/Dropbox/Library/MarsEdit_LocalDrafts. I created that directory at this step to be safe, although I think the terminal steps below take care of it.

4. Open the Terminal app, and type each of the following pieces of text, one line at a time, hitting return after each line (don’t type the “>” symbol; that just signifies the start of a new line):

> mkdir ~/Dropbox/Library

> cd ~/Library/Application\ Support/MarsEdit

> mv LocalDrafts ~/Dropbox/Library/MarsEdit_LocalDrafts

> ln -s ~/Dropbox/Library/MarsEdit_LocalDrafts ./LocalDrafts

5. Go to your other machine, open Terminal, and type this:

> cd Library/Application\ Support/MarsEdit

6. If you want to save drafts from the machine that you’re on now, type this:

> mv -i LocalDrafts/* ~/Dropbox/Library/MarsEdit_LocalDrafts/

As forum user a.jaffe points out, “[t]his moves the individual draft files into the Dropbox LocalDrafts folder. You may find that there are some duplicate names. Depending on which you want to keep, you can say ‘y’ or ‘n’ to the resulting prompt – or go back and rename the file before attempting to move it, if you want to keep both.”

7. Now, still on the second machine, type this:

> rm -fr LocalDrafts

Please note that this deletes the old drafts folder. If you prefer, just copy it somewhere else as a backup.

8. Still on the second machine, type this:

> ln -s ~/Dropbox/Library/MarsEdit_LocalDrafts ./LocalDrafts

That’s it. I set this up, and am happily moving between machines, without having to even give the syncing a second thought.

If you have any MarsEdit tricks, let us know in the comments.

 

Related Posts

Twitter Digg Delicious Stumbleupon Technorati Facebook Email Clip to Evernote

About Evan Kline

Evan started 40Tech to write about tech from his perspective – that of the average 40-something tech geek. When not writing about tech, you might find him with his beautiful wife and baby girl, out on the ski slopes, at his real-life job as a lawyer, over on Google+, or scrounging for followers on his personal Twitter account after years of focusing on the 40Tech account.

2 Responses to How to Sync MarsEdit Local Drafts Between Machines With Dropbox [Mac]

  1. I love that you are out spreading the word on how to get Dropbox to solve our syncing woes. I have found a less intimidating way to do this. I remember when I was first researching this subject the thought of messing around in Terminal was really frightening and the Dropbox forums had a really simple solution. Hit me up if you want it.
    -Josh

Leave a Reply