kerplunk Posted October 11, 2015 Report Share Posted October 11, 2015 For a local solution to this I wrote an AutoIt3 script. The only issue it addresses is ensuring that my "authoritative" IgnoreList is duplicated to all my local Sync folders. Gives me a splash text telling me what share is missing, and waits till I have resolved that before launching Sync. I thought maybe someone else might be able to use it till there's a native Sync solution, so here it is.#include <Array.au3>; The 0-index element of the array contains the path to BTSync.exeLocal $paths[] = [@AppDataDir&"\BitTorrent Sync\BTSync.exe"]; The 1-index element of the array contains the path to the share containing the authoritative ignore list_ArrayAdd($paths, @UserProfileDir&"\BTSync")_ArrayAdd($paths, @UserProfileDir&"\KeePass")_ArrayAdd($paths, "O:\O_BTSync")_ArrayAdd($paths, "P:\P_BTSync"); The subdirectory of the ignore list$ignore = "\.sync\IgnoreList"$dynWidth = Round(@DesktopWidth / 16, 0)$dynHeight = Round(@DesktopHeight / 16, 0)SplashTextOn(@ScriptName, "", $dynWidth * 4, $dynHeight * 2, @DesktopWidth - ($dynWidth * 5), @DesktopHeight - ($dynHeight * 3), 5, "", 8)$splashId = "Static1"While 1 $ready = True $splashFill = "" For $i = 0 To UBound($paths) - 1 Step + 1 If FileExists($paths[$i]) = 1 Then $splashFill &= "Verified: "&$paths[$i]&@CRLF If $i = 1 Then If FileExists($paths[$i]&$ignore) = 1 Then $splashFill &= "Verified: "&$paths[$i]&$ignore&@CRLF Else $ready = False $splashFill &= "MISSING: "&$paths[$i]&$ignore&@CRLF EndIf EndIf Else $ready = False $splashFill &= "MISSING: "&$paths[$i]&@CRLF EndIf Sleep(125) Next ControlSetText(@ScriptName, "" ,$splashId, $splashFill) If $ready = True Then For $i = 0 To UBound($paths) - 1 Step + 1 If $i > 0 Then FileCopy($paths[1]&$ignore, $paths[$i]&$ignore, 9) EndIf Sleep(125) Next ExitLoop EndIfWEndRun($paths[0])Exit Quote Link to comment Share on other sites More sharing options...
carloxp Posted November 22, 2015 Report Share Posted November 22, 2015 +1 hope to see a global 'overridable' ignorelist soon! Quote Link to comment Share on other sites More sharing options...
syrys Posted January 13, 2016 Report Share Posted January 13, 2016 +1 Can we please have a Synced Ignore file, similar to the old .SyncIgnore or git's .gitignore. Its is a huge pain to have to copy paste .sync/IgnoreList across every shared folder on every device (this is asking for trouble/accidents). Imagine if you use git for a project, and the .gitignore file is not automatically synced. I understand the .sync/IgnoreList solved a problem of having client specific ignore files, which is great. But i completely disagree with removing the project (im going to call a shared folder a project) specific ignore file (like the .SyncIgnore). Can we please have such feature again? heck, you can add a .sync/SyncIgnoreList (or /.SyncIgnoreList), a file that syncs across all shared devices and combines with the client specific .sync/IgnoreList when looking for files to ignore. Heck, if anyone has a problem with a Synced Ignore file, you can build a feature so that users can add .SyncIgnoreList to the client specific .sync/IgnoreList file to ignore the rules of the Synced .SyncIgnoreList file. Quote Link to comment Share on other sites More sharing options...
houman1209 Posted February 5, 2016 Report Share Posted February 5, 2016 (edited) +1 I think having .sync/IgnoreList as a machine specific and .syncignore as global setting (can be put into any folder). This will be same as Git and I believe it is the most logical and powerful solution. Edited February 5, 2016 by houman1209 typo Quote Link to comment Share on other sites More sharing options...
Loris Chiocca Posted February 24, 2016 Report Share Posted February 24, 2016 This would be a really cool feature. I too have a couple of shares with a custom ignore list. It is really a pain to manually copy them over all the nodes. Quote Link to comment Share on other sites More sharing options...
sbhouchen Posted February 29, 2016 Report Share Posted February 29, 2016 +1 It would be great to have "Ignore list..." on the drop down menu of each folder and a GUI for managing the list, which would self-propagate. Quote Link to comment Share on other sites More sharing options...
kenneito Posted March 20, 2016 Report Share Posted March 20, 2016 On 2/5/2016 at 2:36 PM, houman1209 said: +1 I think having .sync/IgnoreList as a machine specific and .syncignore as global setting (can be put into any folder). This will be same as Git and I believe it is the most logical and powerful solution. This, Git already has everything figured out Quote Link to comment Share on other sites More sharing options...
m9ri99s Posted April 15, 2016 Report Share Posted April 15, 2016 +1 Quote Link to comment Share on other sites More sharing options...
jammin Posted August 18, 2016 Report Share Posted August 18, 2016 +1 ... Keep the existing local .sync/ignoreList and allow for an overridable one that itself is synced to all devices. This would be very handy when adding new devices, and with all the random disconnection problems we've been seeing, it would make reconnecting a folder slightly less painful. Quote Link to comment Share on other sites More sharing options...
larme Posted November 17, 2016 Report Share Posted November 17, 2016 +1 It's a very important feature because currently the default ignorelist includes "*~", which is actually lots of legitimate files' name pattern. That means by default I will have lots of valuable files not in sync. Quote Link to comment Share on other sites More sharing options...
goncalossilva Posted March 16, 2017 Report Share Posted March 16, 2017 Just registered to +1 this. This is essential, as copying the IgnoreList manually over a bunch of folders is very cumbersome. As mentioned before, Git has figured this out. Please consider copying it Quote Link to comment Share on other sites More sharing options...
coagmano Posted September 13, 2017 Report Share Posted September 13, 2017 I'd also love this as I specifically bought BTSync/Resilio because of it's git like ignore syntax that allowed me to sync my development folder without the million node_modules and build artifacts. I just set up a new machine today and noticed it syncing loads of crud before I caught it and updated the .sync/IgnoreList file. Considering git brings it's ignore with it, I also expect some method for git-like ignore lists to be synced as well. Just give us an option, or another file like .sync/SyncedIgnoreList Quote Link to comment Share on other sites More sharing options...
FHT Posted October 17, 2017 Report Share Posted October 17, 2017 +1 (Ahh, the futility of a 4 year old feature request) Quote Link to comment Share on other sites More sharing options...
Mason Posted December 1, 2017 Report Share Posted December 1, 2017 +1 — clearly every single person in the world who both uses IgnoreList and uses multiple computers with Resilio Sync wants this feature. Quote Link to comment Share on other sites More sharing options...
Arthur van Strien Posted December 28, 2017 Report Share Posted December 28, 2017 + 1 Yep I like a global ignore file next to the local ignore file too. In case the local and global collide the local entry should be used. At the moment I am fixing this by copying the ignore file to the root of the sync folder so I can distribute it quickly over multiple machines. This speeds things up but I still have to start up en login on every machine. Quote Link to comment Share on other sites More sharing options...
cpriest Posted September 24, 2018 Report Share Posted September 24, 2018 +1 for this feature. To summarize what I've read: Machine-level IgnoreList (not-synced) Per-Folder IgnoreList (synced) I'd also suggest a Per-Folder IgnoreList.Local (not-synced) Quote Link to comment Share on other sites More sharing options...
cpriest Posted October 3, 2018 Report Share Posted October 3, 2018 I have a solution to this problem (part of it). You can move that file out of .sync and create a symbolic link to it. For Windows, assuming your folder is c:\foo: 1. Stop Resilio Sync 2. Open up cmd.exe as administrator 3. Type these commands: cd /D c:\foo\.sync move IgnoreList .. mklink IgnoreList ..\IgnoreList 4. Start Resilio Sync This will cause Resilio Sync to sync the Ignore List when changes happen to it, but it will be viewing a Symbolic Link to the IgnoreList when reading what to ignore. Quote Link to comment Share on other sites More sharing options...
Narfe Posted November 8, 2019 Report Share Posted November 8, 2019 (edited) Please make this happen. Seems simple to me, but I'm a web developer not a software developer. ignoreList is local ignoreListGlobal is global I understand that nothing in the .sync folder is synced between devices, so that would require some reworking. Edited November 8, 2019 by Narfe Quote Link to comment Share on other sites More sharing options...
tcf909 Posted May 26, 2020 Report Share Posted May 26, 2020 +1 Not having this feature is especially painful when you setup a headless server and share an identity. It basically creates a situation where anytime you add a "share" you need to login to headless server to make sure the ignorelist is accurate. This is primarily a pain because of the default exclusion of ~* and *~. We use tilde (~) quite a bit and the fact that is was added to the default ignore list is pretty ridiculous given how massive the wildcard inclusion is. Defaults should be much more specific. Quote Link to comment Share on other sites More sharing options...
ToSyncIsHuman Posted July 17, 2020 Report Share Posted July 17, 2020 On 2/5/2016 at 2:36 PM, houman1209 said: +1 I think having .sync/IgnoreList as a machine specific and .syncignore as global setting (can be put into any folder). This will be same as Git and I believe it is the most logical and powerful solution. This would be perfect! On 5/26/2020 at 9:36 PM, tcf909 said: This is primarily a pain because of the default exclusion of ~* and *~. Agreed. I also have a need to be able to add my own rules that are synced, so simply removing these default rules wouldn't be enough for me. 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.