Recent Posts
- Excel 2010 PMT (Payment) Function
- Upgrade Microsoft Office Starter 2010
- Outlook 2010 Search Indexing
- Share Keyboard & Mouse Between Multiple Systems With Synergy+
- Batch Process PDF Files With iPDF Express
- SuggestRun – Windows Run Dialog Box With Suggestions
- Export iPhone Contacts To CSV
- Monitor And Take Action Based On Application Behavior [Windows]
- Directly Download Documents, Spreadsheets, Presentations [Firefox Add-on]
- Download YouTube Videos To iPhone/iPod Touch For Free
- jerrod
- Willem Nuijen
- Willem Nuijen
- Willem Nuijen
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!
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 Dropbox\Folder containing ‘My Dropbox’\My Dropbox\Folder 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:
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:
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.
OSX and Linux
These two operating systems have the same sort of command-line tools available:
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
Share this article!