Backup Any Folder to Dropbox, Without Moving It

Dropbox is a great way to automatically backup your data and get access to it from anywhere with an easy to use web interface. It even provides you with a full history of changes (added recently) and a versioning system, so you can always get back that accidentally overwritten file. Your free 2GB is extendable to 5GB just by inviting others to the service (the invitees get themselves another 250MB for free as well).

Move everything into the Dropbox folder? Nay!

Now there’s a little problem with Dropbox: it creates a folder (My Dropbox) and only synchronizes whatever is in that one folder. This means that you would have to move all the documents, photos, application data, and maybe even programs into that single folder. Apart from having problems with the programs having their location changed (or needing to reinstall them), you’ve probably already got yourself a nicely organized folder structure of your own.

No need to mingle with that then, use symbolic links to point Dropbox to the folders! Symbolic links are, simply put, transparent shortcuts to a file or folder somewhere else (locally or via a (SMB) network path). This means that the files can be accessed from such a symbolic link just as if they were physically there. The only difference is that if you remove the symbolic link, the actual (source) file or folder will not be removed.

This does have a downside, though, as Dropbox will not monitor for file changes in the symlink folders and will update them only at startup.

How to make it work

First of all, you have to make sure that your Dropbox folder is not inside a folder you want to backup (a folder of which you want to create a symbolic link in the Dropbox folder). That would – for Dropbox – create an infinite loop My DropboxFolder containing ‘My Dropbox’My DropboxFolder containing ‘My Dropbox’ etc. You can change your Dropbox folder path in the Preferences dialog.

Windows Vista and 7 have a nice command-line utility mklink to do the magic. In order to use this, open up an elevated Command Prompt window by right-clicking on the Start Menu entry and choosing Run as administrator.

For creating a symbolic link to a folder, type:

mklink /d

Now drag your My Dropbox folder from an Explorer window into the Command Prompt window and type the desired pathname directly behind it (don’t forget the backslash ‘’ in between and make sure you put the whole path in between double quotes if it contains spaces. Now it should look like this:

mklink /d "C:PathToMy Dropbox FolderNameForMyNewSymbolicLinkToADirectory"

Now drag the folder you want to link to into the Command Prompt window from an Explorer window. This will add the target folder’s name to the command line. Now press Enter.

Want a little more help? Try the little program called Link Shell Extension (download below), which adds some context menu items for files and folders to copy a file/folder and paste it somewhere else as a symbolic link.

linkshellext 01 pastesymlink Backup Any Folder to Dropbox, Without Moving It

OSX and Linux

These two operating systems have the same sort of command-line tools available:

ln -s /the/full/path/to/target/folder ~/Dropbox/NameForMyNewSymbolicLinkToAFolder

A Caveat

Like most solutions of pure elegance, there’s always a downside. As said before (to spare you from a disappointment after reading this all, Dropbox seems not to be able to directly pick up on changes made in a folder it only has a symbolic link to. How this exactly happens is a question I herewith pose to you. In most cases, it will suffice that Dropbox checks for changes every time it starts, but for folders that require immediate backup, such as you Documents folder, you can also turn all this around: put the real files in the My Dropbox folder, then create a symbolic link to the folder, now in My Dropbox, in the original location.

Download Link Shell Extension

قالب وردپرس

About Alyse Kalish

Alyse Kalish
As an Associate Editor for The SalesJobInfo, Alyse is proud to prove that yes, English majors can change the world. She calls many places home, including Illinois where she grew up and the small town of Hamilton where she attended Colgate University, but she was born to be a New Yorker. In addition to being an avid writer, Alyse loves to dance, both professionally and while waiting for the subway.

Leave a Reply

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