Ignore all SubFolders


Recommended Posts

hi community

thanks andy+, */* worked fine.

but by doing this, the sub-folders under root level will still be created on the other peers.  they are all empty. nothing inside them. just a bunch of empty sub-folders.

and then, if someone accidently delete or modify the empty folders on the peer sides, which were not allowed to be synced, then on the server side the original folders content lots of your important files, will also be deleted real quick. this is because resilio sync considered that folder is no longer exist and removed it. so leaving  those folders to an amateur or someone you don't trust will make you in a big risk. be careful.

for me, if i had some files or folders don't wanna to be synced, simply prefix a ~ to these folders, and they will disappear like a charm on other peers. no need to add rules into the ignore file. just prefix a ~ to ignore. and you can use this mothed on almost any folder / files. have a try.

BR

Link to comment
Share on other sites

hi andy+

will try syncthing some other day. thanks for the information.

and about the prefix ~ thing, actually its just because there already had a ~* rule on the ignore list. which i believe was originally from the office automatically generated temporary files. they all have  ~ prefixed, and resilio sync do not sync temp files.

not that magical. haha. :)

 

 

001.jpg

Link to comment
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.