File sync service supporting symbolic links

I wonder if any of the mainstream sync services (e.g. Dropbox and the likes) is able to sync relative symbolic links among the synced folders correctly.

And by supporting I mean uploading and syncing them as symlinks rather than resolving them and uploading them as a duplicate of the original file/folder.

To the best of my knowledge Dropbox doesn't really understand symlinks, and I can not find much information about GDrive, OneDrive, Box, etc...

This can't be awfully hard to implement, so I am hoping at least one of these services offers the functionality. That is the way I make my resources accessible from different locations, instead of creating redundant copies.


Solution 1:

I was looking for an answer to this and just tested out a number of syncing services on my Mac by trying to copy an OSX framework. The only one that successfully copied the internal symbolic links between folders was...

  • Copy.com (Edit: Service will shut down on May 1, 2016. So that leaves us with... none.)

It seemed to work fine, symbolic links were copied as expected. I don't really know anything else about the service - I just found out about it today.

The following completely ignored the symbolic links: Google Drive, Box, OneDrive, Mega, iCloud Drive

The following copied the contents of the symbolic link like it was a folder (thus resulting in duplicate files): Dropbox

Solution 2:

BitTorrent sync will do what the OP requests. It will copy and sync symlinks as links, without following them. It differs somewhat from services like Dropbox in that there is no cloud involved - just peer to peer communication. There is a free service and a paid service. I dropped Dropbox for this very reason, and have used BitTorrent Sync for over a year without major problem.

Solution 3:

It seems syncthing will also handle symlinks correctly (symlinks are not followed but copied as symlinks); see relevant discussions: https://github.com/syncthing/syncthing/issues/262 https://github.com/syncthing/syncthing/issues/2358

But I'd love to see a cloud hosted solution (unlike bt sync and syncthing) that handles symlinks correctly.