Sync folders outside your Dropbox folder on OSX Lion

I use Dropbox to sync my Development folder between a few machines. The development folder must be in my Dropbox folder but Apache on OSX uses ~/Sites to host websites. I don’t want to move this folder to my Dropbox folder but do want to share it with my other machines.

A shortcut to a target folder would only synchronize itself (the shortcut) but a SymLink synchronizes it’s target folder with my other machines.

Both are the default locations.

sudo ln -s ~/Sites ~/Dropbox/Sites


Removing the link should not delete the files in the target location but I recommend backing them up anyway. I’ll wait…

rm ~/Dropbox/Sites

The SymLink should be gone now. Please be careful with Terminal commands. You can do some serious harm to your machine using them and when in doubt…don’t use them!

Grüsse aus Berlin!
This is a cookie free and popup free website.
Join me in making the web enjoyable again by removing the need for annoying cookie warnings and silly newsletter overlays!