Sync Textmate Bundles Across All your Macs With DropBox

If you’re a heavy lifter with Textmate and create and customize bundles all the time this post is for you.

Copying bundles from one machine to another is cumbersome and easily forgotten.

I always find myself adding one command to a custom bundle at the office and then forgetting to add it to one of my machines at the house.

Before we begin you will need a Dropbox account. If you don’t already have one you can get a free one here

Once you have Dropbox running you can run these 3 steps in Terminal.app

It is highly recommend to run a backup of your bundles before attempting the steps below.

Step 1. Move to your the folder where the Textmate bundles are located:

$ cd ~/Library/Application\ Support/TextMate/

Step 2. Move the Bundles folder to your Dropbox folder:

$ mv Bundles ~/Dropbox/Bundles

Step 3. Create a symlink in the DropBox folder to the “Application Support/TextMate/” directory:

$ ln -s ~/Dropbox/Bundles/ Bundles

Repeat steps 1,2,3 on any machines that you need to sync up.

Leave a Reply

Your email address will not be published. Required fields are marked *