Exclude folder

Discussion related to "Everything" 1.5.
Post Reply
jackao
Posts: 11
Joined: Mon Dec 30, 2024 11:31 pm

Exclude folder

Post by jackao »

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?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclude folder

Post by void »

Please try the following exclude filter:

regex:\\\\Synology\\.+\\#(snapshot|recycle)


\\ = a single literal \
. = match any character
+ = match the previous element one or more times.
jackao
Posts: 11
Joined: Mon Dec 30, 2024 11:31 pm

Re: Exclude folder

Post by jackao »

thx for the explanation. it works
Post Reply