tracius01 Posted April 23, 2013 Report Share Posted April 23, 2013 if a put a soft link folder in a BT Sync folder it doesn’t start syncing contents of that link.do you have any plans implementing this feature? Quote Link to comment Share on other sites More sharing options...
kos13 Posted April 23, 2013 Report Share Posted April 23, 2013 Sync doesn't follow symlinks now. We plan to make it configurable. Quote Link to comment Share on other sites More sharing options...
tracius01 Posted April 23, 2013 Author Report Share Posted April 23, 2013 it's very nice to hear that! I’m waiting for the next release! Quote Link to comment Share on other sites More sharing options...
iElectric Posted May 12, 2013 Report Share Posted May 12, 2013 Same here, following symlinks is currently the blocker for me to use btsync. Quote Link to comment Share on other sites More sharing options...
tiptronic Posted May 12, 2013 Report Share Posted May 12, 2013 Please don't sync the symlink's target, but the symlink itself. Or make it configurable... so everybody can shoot in their own foot, whenever they like.AndyPS: Following symlinks while synching is dangerous and wrong! Quote Link to comment Share on other sites More sharing options...
rdebath Posted May 13, 2013 Report Share Posted May 13, 2013 Following symlinks while synching is dangerous and wrong!Oh yes.$ ln -s .. up$It's much safer to include the actually required functionality directly in BTSyncBy that I mean have a configuration file that lists the overlays you want ...$ cat .Sync/overlayvideos -> /disk/largearray/videos/notpornporn -> /disk/verylargearrayproject_a -> /home/staff/jenny/appleproject$And have BTSync show the directories "videos", "porn", "project_a" even though they don't actually exist.After all, to make it safe, you're going to be doing that anyway and this way it's all local; no need to add it to the multi-peer finite state machine diagrams. Quote Link to comment Share on other sites More sharing options...
veen Posted May 20, 2013 Report Share Posted May 20, 2013 I would like to have a configurable follow-symlinks option. If I shoot myself in the foot then I will happily blame myself.Also, the overlay idea above is nice. Having both alternatives would be nice Quote Link to comment Share on other sites More sharing options...
iElectric Posted June 23, 2013 Report Share Posted June 23, 2013 I hope this one lands in alpha soon Managing mount binds is very painful. Quote Link to comment Share on other sites More sharing options...
tiptronic Posted June 24, 2013 Report Share Posted June 24, 2013 @iElectric: get yourself a Mac - its dead simple there Quote Link to comment Share on other sites More sharing options...
Xanza Posted June 24, 2013 Report Share Posted June 24, 2013 Unless the content is dynamic, I really don't see why you can't just copy the information that you need to be synced into the sync folder. Quote Link to comment Share on other sites More sharing options...
Aristar Posted August 21, 2013 Report Share Posted August 21, 2013 this would be great if it could follow symlinks. It currently follows hardlinks/junctions on windows, so I don't see why it can't do it on Linux too.for example, i'd like to have a backup directory with a bunch of symlinks pointed to important stuff, and have that synced across computers. Quote Link to comment Share on other sites More sharing options...
antimojv Posted November 2, 2013 Report Share Posted November 2, 2013 +1 for me too , symlinks / soft link are very useful for me too!! Quote Link to comment Share on other sites More sharing options...
Salamandar3500 Posted November 19, 2013 Report Share Posted November 19, 2013 Hi !I'm using for a while Dropbox, with wich I use lots of symbolic links, pointed to folders with useful stuffs and work, without moving these folders (separated disks/partitions in my case).@Xanza : When I edit my LaTeX files, I have to move the new Pdfs in my synced folder… And my problem of separated partitions is quite complicated !It would be an idea to let the user the choice to sync or not the pointed folders/files… Or even to be able to set it for each folder ! (for example with/without a '.sync_link' file in the folder) Quote Link to comment Share on other sites More sharing options...
Limes102 Posted November 20, 2013 Report Share Posted November 20, 2013 I have managed to hack a script together which manages this this quite well. It should work on any Unix platform but on Mac OS you'll need to compile the hlink and hunlink programs in order for it to work. If you are not on Mac OS, you'll need to edit the script to use "ln -d" to hard link the directories. I am using this to manage the music I wish to sync to my phone, as I don't think the manual selection in the android app is very good.#!/bin/bashcd "/Volumes/Marceline/MusicSync/"# first unlink files which have been removedfor artist in *; do if [ -d "$artist" ]; then if ! grep -Fxq "$artist" "links" ; then echo Unlinking $artist hulink "$artist" fi fidone# link any new oneswhile read artist; do if [ ! -d "$artist" ]; then echo Linking $artist hlink "../Music/$artist" "$artist" fidone < linksIt needs a file, in this case links to contain a list of the directories you want linked up. Example:Bright EyesBryan John ApplebyConor Oberst & The Mystic Valley BandDeath Cab For CutieEdward Sharpe & The Magnetic ZerosFeist & Ben GibbardIt seems to work pretty well for me but obviously I have no guarantees it'll work for you. Quote Link to comment Share on other sites More sharing options...
ectospasm Posted December 20, 2013 Report Share Posted December 20, 2013 @Limes102: Hard links are a nonstarter, since they cannot span more than one filesystem (an inode number in one filesystem has absolutely no bearing on another filesystem). My files reside on my NAS because it has far greater capacity than my workstation hard drive. Without symlinks, I'm forced to copy files from my main file store, duplicating the amount of space used. @tiptronic: get yourself a Mac - its dead simple there No way no how am I *ever* going to buy a Mac. Overpriced hardware for what you get, and I'm not into buying used equipment. Quote Link to comment Share on other sites More sharing options...
temp_ Posted February 20, 2014 Report Share Posted February 20, 2014 Sync doesn't follow symlinks now. We plan to make it configurable.Any update on this ? after almost one year? Quote Link to comment Share on other sites More sharing options...
JimH44 Posted February 21, 2014 Report Share Posted February 21, 2014 I don't think there is any update yet from the BTSync developers, but I have created a Unix/Linux script that usesmount --bindto mount folders at mount points within the filesystem. It also puts the equivalent commands in /etc/fstab so these bindings are remade when the system is rebooted.You can read about my script athttp://forum.bittorrent.com/topic/23624-symlink/?p=78762 Quote Link to comment Share on other sites More sharing options...
Quinist Posted March 3, 2014 Report Share Posted March 3, 2014 Any update on this ? after almost one year? Seconding this. The feature seems overdue. Quote Link to comment Share on other sites More sharing options...
scruffyfox Posted April 11, 2014 Report Share Posted April 11, 2014 Has this feature been abandoned? Could really be useful, I pretty much rely completely on symlinks Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 11, 2014 Report Share Posted April 11, 2014 It's not abandoned, but rather postponed due to more urgent demands. It's still in our queue. Sorry, can't share ETA for now. Quote Link to comment Share on other sites More sharing options...
JimH44 Posted April 13, 2014 Report Share Posted April 13, 2014 Has this feature been abandoned? Could really be useful, I pretty much rely completely on symlinksAs the wise owl said, it's on the list, but there are higher priorities.In the mean time you could use the script that I developed to use mount --bindto make the equivalent of symbolic links on your Linux system.You can find it at http://forum.bittorr...ymlink/?p=78762See the following discussion as well. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 14, 2014 Report Share Posted April 14, 2014 @scruffyfox & @all, There are several peculiarities around going over symlinks as over folders. Let me make a list.1) Symlinks are ruining tree-shape of the directory structure. They can wrap directory structure into itself.2) Symlinks can drive BTSync out of directory (and store in general much more information than user expect)3) Symlinks can bring BTSync to some network location which contains more info than expected4) Symlinks can bring BTSync to a filesystem which is not compatible with current FS. 5) <probably some other peculiarities which i'm missing right now, but you also can guess> How do you expect (or find useful) for BTSync to deal with such issues? Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted April 14, 2014 Report Share Posted April 14, 2014 How do you expect (or find useful) for BTSync to deal with such issues?Agreed! At the end of the day, sync isn't like DropBox or OneDrive (SkyDrive), etc that limit you to only syncing one central folder - in these instances, I can understand why SymLinks would be very useful to allow you to sync the content of other folders too! But given that BitTorrent Sync allows you to select and sync ANY folder, surely the need for using SymLinks with Sync is far less than if you're using DropBox/OneDrive, etc, as you can add all the folders you wish to Sync themselves directly?! I suspect that's probably why - although better handling SymLinks is in the development "queue" - it's currently not considered the "highest priority" for the team. Quote Link to comment Share on other sites More sharing options...
antimojv Posted April 14, 2014 Report Share Posted April 14, 2014 For me the Symlinks are generally useful, but is a personal point of view, may be not useful for any other. They could introduce more complexity so they need to be evaluated May be some suggestion on how they are handled could be found here http://rsync.samba.org/ftp/rsync/rsync.html Chapter Symbolic Link Anyway i'm not sayng that btsync equals rsync or similar thing , this is only a suggestion, and i actually prefer btsync in some cases in my daily use (more easy to use at all, no needed ssh server , no port configuration etc etc ) Quote Link to comment Share on other sites More sharing options...
RomanZ Posted April 15, 2014 Report Share Posted April 15, 2014 @antimojv, The manual still does not address the issues i've highlighted. rsync distinguishes some "safe" and "unsafe" symlinks for themselves, but I believe it is not applicable in BTSync case: people want symlinks to point outside of the sync folder (main usage scenario - accumulating all backup data in one folder). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.