I am using synology. and every folder created in the synology has two subfolders called #snapshot and #recycle respectively. I am trying to index all folder in synology while excluding these 2 subfolders. let's say i index a,b,c folder and try to exclude snapshot and recycle. So first I go to
options > folders > add \\Synology\a , \\Synology\b , \\Synology\c. now I go to options > exclude add \\Synology\a\#snapshot, \\Synology\a\#recycle ...
Am I doing right above?
and I want to simplify the steps too cause I got bunch of folders. I am using filter(regex) in the exclude
regex: \\Synology.*\#(snapshot|recycle)
Is that syntax right?
Exclude folder
Re: Exclude folder
Please try the following exclude filter:
\\ = a single literal \
. = match any character
+ = match the previous element one or more times.
regex:\\\\Synology\\.+\\#(snapshot|recycle)\\ = a single literal \
. = match any character
+ = match the previous element one or more times.
Re: Exclude folder
thx for the explanation. it works