Syncing Documents folder to Dropbox

Discussion in 'Mac Basics and Help' started by PowerBook-G5, Aug 3, 2014.

  1. PowerBook-G5 macrumors 65816

    PowerBook-G5

    Joined:
    Jul 30, 2013
    Location:
    The United States of America
    #1
    Hello, I would like to know how I can setup my Mac so that my Documents folder is synced with Dropbox so that I can see all of my files on my iPhone. I already tried making an alias, but I cannot view the files on my iPhone. Is there any way to have the Documents folder sync to Dropbox automatically? Thanks.
     
  2. SandboxGeneral Moderator

    SandboxGeneral

    Staff Member

    Joined:
    Sep 8, 2010
    Location:
    Orbiting a G-type Main Sequence Star
    #2
    The easy way is to move the documents folder into the Dropbox folder. Then update your Finder sidebar shortcuts and you're all set.
     
  3. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #3
    Try running this in Terminal, then restart:

    Code:
    mv ~/Documents/ ~/Dropbox/Documents/
    ln -s ~/Dropbox/Documents/ ~/Documents
    I think I got that right. What that will do is move your Documents folder to your Dropbox and make a symlink back to where it was. Make sure you make a backup of your Documents folder first. Though you should loose anything. Also, make sure your Dropbox is big enough to fully contain your Documents folder.
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Just leave the Documents folder where it is and run this command in Terminal. That will create a symlink between your Documents folder and Dropbox. That way you can just use the regular Documents folder like normal and everything in that folder will be synced to Dropbox.

    Code:
    ln -s ~/Documents ~/Dropbox/Documents
    If will look like this in Finder in your Dropbox folder and the full Documents folder will be visible in the iOS DropBox app.

    [​IMG]

    If you are not comfortable using the Terminal command, you can use the free app MacDropAny to make the symlink for you.
     
  5. PowerBook-G5 thread starter macrumors 65816

    PowerBook-G5

    Joined:
    Jul 30, 2013
    Location:
    The United States of America
    #5
    Thanks for the replies, after a bit of googling, I found the symbolic link commands and ran those. Now it works great, but thanks anyway!
     
  6. dribando macrumors newbie

    Joined:
    Jan 15, 2014
    #6
    If I used the command:
    "ln -s ~/Documents ~/Dropbox/Documents"
    to create a symlink, how do I now remove that symlink?

    I got an email from Dropbox that says the new cloud file management used by Sierra could wreak havoc on my data if I'm using symlinks and Dropbox together. Time to kill the symlink to be safe. Thanks.
     
  7. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #7
    This command will remove the symlink. I got that same email. It only applies if you are using iCloud Drive with a symlink to Documents like you have. If you do not have iCloud Drive turned on, your existing symlink won't cause a problem.

    Code:
    unlink ~/Dropbox/Documents
     
  8. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #8
    This is only a problem if you enable ‘Documents & Desktop’ in iCloud Drive. If you don’t use it, you can keep the symlink.
     

Share This Page