Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

Joining MarsEdit and Dropbox

April 20, 2012 by Rob Bazinet 4 Comments

Tweet

I use MarsEdit from Red Sweater Software as my exclusive blogging tool on the Mac and have over the last couple years. ?I tend to write lots of draft posts on my desktop Mac Pro that never get published or I work on them when I can before pushing out to my WordPress blog.

I also use MarsEdit on my MacBook Air when I travel or even if I am working on the couch in the evenings. ?All of the drafts in MarsEdit are saved locally on the computer I am going the writing and once I want to be able to edit from the other computer I end up pushing as a draft to the blog and pulling it down via MarsEdit. ?This is a tedious task and has problems. ?I don’t know how many times I pushed up a draft and forgot I did a few days later only to work on an old draft locally.

I then had the idea of possibly setting up MarsEdit to save local drafts to Dropbox but there didn’t appear to be an option in MarsEdit to change the location of local storage.

But?there is usually a way to do anything.

The steps below worked great for me, you mileage may vary. ?If Dropbox is installed in its default configuration then these instructions should work for you. ?I configured my systems with my Mac Pro being the “main” system and my MacBook Air as the secondary. ?I had local drafts on my Mac Pro but NOT on my MacBook Air. ?If you follow these steps exactly and have local drafts on each system them you will lose data.

Without further ado, follow these steps. ?I assume you know how to open a terminal sessions and feel comfortable typing command.

1. Make sure you quit MarsEdit from each system you are going to change the location of local drafts.

2. Find local MarsEdit drafts on your main system – A bit of spelunking reveals where they live in:

~/Library/Application Support/MarsEdit/LocalDrafts

3. Create folder for drafts in Dropbox.

mkdir ~/Dropbox/Library
mkdir ~/Dropbox/Library/MarsEdit

4. Move the local drafts from the main computer to Dropbox, enter these two commands:

cd ~/Library/Application\ Support/MarsEdit
mv LocalDrafts ~/Dropbox/Library/MarsEdit/LocalDrafts

5. Now let’s fool MarsEdit into thinking nothing has changed. ?Symlink the old name to the new location.

ln -s ~/Dropbox/Library/MarsEdit/LocalDrafts ./LocalDrafts

Now, on each of the other machines start with step 6.

6. Remove the local draft folder (if it’s not empty and delete you will lose data).

rm -rf ~/Library/Application\ Support/MarsEdit/LocalDrafts

7. Time to fool MarsEdit here too.?Symlink the old name to the new location.

ln -s ~/Dropbox/Library/MarsEdit/LocalDrafts ./LocalDrafts

Repeats steps 6 and 7 for each computer you need to share local drafts.

Once you start up MarsEdit on each of these machines, you should see the same local drafts. ?If not, then double-check the steps above.

?

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Filed Under: Technology Tagged With: dropbox, marsedit, WordPress

Recent Posts

  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur
  • RailsConf 2021 and the Future of Conferences
  • Fixing Out of Diskspace Errors on Amazon EC2

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Exactly this…. https://t.co/yWj7fZ01HR
    about 18 hours ago
  • https://t.co/EmagdpLoNv "Introducing GitHub Copilot X · GitHub"
    about 1 day ago
  • RIP Gordon Moore: https://t.co/c5J9LaHrj8
    about 1 day ago
  • Our daughter works as a teaching assistant at a local K-8 public school. It’s become apparent that students today r… https://t.co/p2t912GVyc
    about 2 days ago
  • Working to wrap up my current consulting gig by mid-April. I will be looking for the next thing soon. If anyone has… https://t.co/sg3cSV9yqM
    about 3 days ago
  • RSS - Posts
  • RSS - Comments
Find me on Mastodon