Dropbox – How to Change Default Documents and Pictures Directories to Symlinks

dropboxsymlink

I have most of my important files under Dropbox, like Pictures and Documents. It would be great if I could set the default Documents and Pictures directories to either point under the respective directory under my Dropbox folder, or (if their path is important) have my real directories being symlinked under ~/Documents and ~/Pictures.

Is this possible somehow?

Best Answer

You can do the opposite way round: add a symlink of the defaults Documents and Pictures to your Dropbox folder.

Full instructions can be found here, but basically, in the Terminal, just change directory to your Dropbox folder, and then create the links there.

cd ~/Dropbox
ln -s ~/Documents
ln -s ~/Pictures

Obviously, this will overwrite the existing Dropbox subfolders. You can either rename those folders, or you can create a new name for the symlink in the ln command:

ln -s ~/Documents symDocuments