luckman212

IgnoreList - lines beginning with #

Recommended Posts

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" 🤔

Share this post


Link to post
Share on other sites

Is the difference, perhaps, that a `#` followed by whitespace is a comment, but a `#` followed by a letter/number is not?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.