luckman212 Posted July 26, 2020 Report Share Posted July 26, 2020 It appears that lines beginning with "#" would be skipped when parsing the IgnoreList, since at the top we have lines like # IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules # for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols. But, in the default IgnoreList for new folders, these 3 lines also exist (seems related to Synology Drive app): #recycle #snapshot #SynoRecycle I am assuming that this is either a mistake, or somehow this isn't working because I guess these lines would be "ignored by the IgnoreList itself" 🤔 Quote Link to comment Share on other sites More sharing options...
luomat Posted July 26, 2020 Report Share Posted July 26, 2020 Is the difference, perhaps, that a `#` followed by whitespace is a comment, but a `#` followed by a letter/number is not? Quote Link to comment Share on other sites More sharing options...
luckman212 Posted July 26, 2020 Author Report Share Posted July 26, 2020 I had that same thought too TJ 🙂 Somehow I doubt it though. That would almost be too clever. Hope someone from the mother ship can give us an official answer though. Quote Link to comment Share on other sites More sharing options...
luomat Posted July 26, 2020 Report Share Posted July 26, 2020 It's actually not all that unusual. I've seen that syntax used in code (C or ObjectiveC? I'm not sure) for things like `#include` and `#define`. That's what made me think it might be the same here. Quote Link to comment Share on other sites More sharing options...
luckman212 Posted October 14, 2020 Author Report Share Posted October 14, 2020 @RomanZ / @kos13 / @Helen Can someone clarify this please? Quote Link to comment Share on other sites More sharing options...
Andy+ Posted October 14, 2020 Report Share Posted October 14, 2020 In the Linux world it is standard that script lines with # at the beginning is a character for commenting out. Everything that follows a # is at most a comment, nothing else. And it doesn't matter whether there is a space after it or not. Sometimes // are also used, but this is not common. # are not errors, but give the user the choice, e.g. activate or deactivate a parameter etc. More about the IgnoreList here https://help.resilio.com/hc/en-us/articles/205458165-Ignoring-files-in-Sync-Ignore-List- Quote Link to comment Share on other sites More sharing options...
luckman212 Posted October 15, 2020 Author Report Share Posted October 15, 2020 @Andy+There's nothing in that link about `# comment...` lines or how they are parsed. Those entries such as #SynoRecycle are being placed by default which is why I am asking about them here - it seems ambiguous. Quote Link to comment Share on other sites More sharing options...
Andy+ Posted October 15, 2020 Report Share Posted October 15, 2020 Thats true. But is fact, used scripts with # at the beginning of lines are ignored from the software or user, which use that script, here is IgnoreList used by Resilio. It means: # bullshit | is ignored #bullshit | is ignored bullshit | is not ignored Quote Link to comment Share on other sites More sharing options...
sounds2k Posted June 11, 2021 Report Share Posted June 11, 2021 I've come across this, however if you read the document on here it says only lines that begin with # are treated as comments. It also states that entries can include a path. So for a Synology NAS, I simply changed the entry from #snapshot to /#snapshot - which is fine, as that directory is always in the root of the shared folder. Seems to work ... it's just a pain that you have to copy an updated "IgnoreList" file to each new folder - you can't set it as a default within ResilioSync, so it will always use its' defaults when it starts syncing a new folder unless you manually create the .sync subfolder and copy your updated "IgnoreList" file to it before initiating the sync. Quote Link to comment Share on other sites More sharing options...
Schnautz Posted August 26, 2021 Report Share Posted August 26, 2021 For whatever it's worth, you can use /?recycle /?snapshot as well. The ? is a wildcard. 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.