Hello I was wondering if it's possible to make Dropbox sync my ~/Documents folder? I'm on Ubuntu 10.10 netbook remix (Not that NBR should matter that much). I've read how to do this on Windows, and I was wondering if it's possible to do it on Ubuntu as well. Thanks in advance.
You could use symlinks, but you would have to do it the other way round (symlink your dropbox folder onto your documents folder). This would, to all intents and purposes make any files in your dropbox folder show up in your documents folder. The command to do this:
sudo ln -s ~/Dropbox/* ~/Documents
Obviously replace any folder names as necessary.
** EDIT **
Scratch that. This script: http://forums.dropbox.com/topic.php?id=9665 will allow you to rename / move your dropbox folder wherever you want. Its not yet possible (?) to have more than one folder synced to dropbox (although it is through ubuntu one)
** EDIT 2 **
Or just switch the symlink around so it works the other way. See this: http://wiki.dropbox.com/TipsAndTricks/SyncOtherFolders
All I do is :
- Create a "Documents" folder inside Dropbox (which, when I install it, I tell it to use ~/Misc/Dropbox).
- Delete my actual ~/Documents folder (copy anything out of it first).
- Then drag-n-drop my newly created ~/Misc/Dropbox/Documents folder to the root of my home folder with CTRL and SHIFT held down. That symlinks it.
- Repeat for any other folders I want synced. I usually do my Development folder and my Desktop.
Whenever I use my Documents folder now, I know that it's getting quietly synced to Dropbox.
This method is particularly useful if you use two or more PCs and know that you'll get all those files no matter which PC you're sitting at, even those you dragged to the Desktop.
Update : As Geppettvs D'Constanzo notes in his answer, Ubuntu Tweak will allow you (after following the steps in this answer) to tell Nautilus to use the default locations for your Desktop and Home folders, so you don't lose the icons after all.
I don't know what version of Dropbox are you guys talking about. From Dropbox v0.7.110 there is an option which allows you to choose which folder location is going to be used for the sync process.
Additionally, folder locations can be handled via Ubuntu Tweak with ease. And you can change the location of your Documents folder (in example) to a different place in your file system or in a different hard disk drive indeed.
Sorry if my answer is too late.
Edited to include the Ubuntu Tweak Screenshot: