Quick tip: Sync files and folders outside your Dropbox folder
Posted under Computing, Mobile computing by tim at 19:33 1 Comment »Readers of Eee 701 Planetoid (my blog devoted to the Asus Eee 701 ‘netbook’) may be aware that I’m a big fan of Dropbox, the online storage/file synchronisation service which also happens to work perfectly with the 701. I just wanted to share a quick tip for Dropbox I learned from an article at Lifehacker, which may be of use to other users, especially if they’re running Linux or Mac OS X:
As you may know, installing the Dropbox client on your Mac, Linux or Windows computer, gives you a special folder into which you place other folders or files; these are then copied not only to the online Dropbox storage space, but to any other computers linked to your account. This is very handy, especially if you have a laptop or other portable machine; it’s perfect for my Eee netbook, as I can back up files to Dropbox and my Mac with very little effort.
But what if you wanted to link folders/files on one machine to Dropbox, which aren’t located within the Dropbox folder? For instance, my Eee (running the Eeebuntu Linux OS) has a “Documents” folder in my home directory, and I’d like this to be backed up to Dropbox (nothing sensitive or confidential there, BTW), even though the folder should really stay where it is.
The answer—certainly if you’re on Linux/Mac—is simple: you just create a symbolic link (or ’symlink’—like a Mac alias or Windows shortcut) within the Dropbox folder, which points to the folder (or file) you’d like to link to. In the Linux and Mac terminal, you would change to the Dropbox folder, and from there, enter:
ln -s /path/to/your/item
This would create a symlink in the Dropbox folder with the same name—if you wanted a different name, you enter the new name for your symlink after the path:
ln -s /path/to/your/item alternative_name
(I would recommend symlinking a folder rather than a file for this purpose, just to be ‘tidy’.)
I use this method to ‘place’ my Eee’s Documents folder within Dropbox, so it appears to exist in two places (within my home directory, and within the Dropbox folder). The contents of ‘Documents’ are backed up to Dropbox, and also to the Dropbox folder on our Mac, meaning that in effect I have three copies of each item in the folder.
Check out the original Lifehacker article (“Sync files and folders outside your Dropbox folder“) for more details, including how to achieve the symlinking effect on Windows (basically, if you’re on Vista or Win7, use MKLINK at the command prompt).







Recent Comments