Sync Desktop with Dropbox - Symlink

4

1

I tend to work almost entirely off of my desktop, and I'm attempting to simplify my workflow. I want to sync my Desktop between my Work iMac and my Mac Mini at home.

I've sucessfully synced my Home computer's Desktop TO a Dropbox folder (So in Dropbox I have a /Dropbox/Desktop/ directory)

Now, what I want is to have the contents of this Dropbox directory on my Work computer's Desktop.

I've succeeded at making a symlink on my Work computer to the Dropbox folder, BUT, it simply appears like a shortcut. In other words, my work desktop has a icon that links to my Dropbox. I want my Work desktop to BE the (dropbox/desktop) folder.

Michael Roach

Posted 2015-09-25T22:24:00.630

Reputation: 53

Answers

5

  1. Install and set up Dropbox on your work computer. It will download everything including your home computer's Desktop folder that you symlinked and uploaded from your home computer.

  2. Wait for your work computer to finish syncing. See that little syncing icon on the Dropbox menu bar icon? That means that Dropbox is still syncing. You want just the open box Dropbox icon, no little sync icon. Seriously. Wait for the sync to finish.

  3. Once the folder is fully downloaded, quit Dropbox on your work computer. Seriously, quit Dropbox. Click on Dropbox in the menu bar. Click on the gear icon in the bottom right corner of the Dropbox menu. Click on Quit Dropbox.

  4. On your work computer, open the Dropbox folder.

  5. On your work computer, drag the contents of your synced Desktop folder into your actual work computer Desktop.

  6. On your work computer, open Terminal and navigate to your Dropbox folder by typing cd /Users/YourMacUsernameHere/Dropbox and then hitting return.

  7. On your work computer, after copying the contents of the Dropbox Desktop folder to your actual Desktop folder in step 5 above, delete the Desktop folder that was downloaded from Dropbox (this is why it's important that Dropbox be turned off).

  8. On your work computer, create a symlink to the actual Desktop folder by typing ln -s ~/Desktop and hitting return.

  9. At this point, both your home and work computers have identically-named symlink files in the exact same Dropbox folder locations.

  10. Re-start Dropbox on your work computer (it's in Applications) and give it a moment to sync. If all has gone well, there won't be anything to sync since both folders are identical. If you had existing data in work Desktop folder, it may upload those files first, then sync them to your home desktop.

Adapted from: http://www.imore.com/how-sync-your-documents-desktop-and-any-other-folder-dropbox

Philip F

Posted 2015-09-25T22:24:00.630

Reputation: 166

0

As of mid-2019, Dropbox no longer follows items outside of your Dropbox account that are linked to by a symlink.

Source: https://help.dropbox.com/en-en/installs-integrations/sync-uploads/symlinks

Unfortunately, this change breaks the possibility to sync files located outside of your Dropbox folder. This was a very useful trick, but it was never explicitly supported by Dropbox. There is currently no way to recover the old behavior back.

Geoffray Warnants

Posted 2015-09-25T22:24:00.630

Reputation: 1