Add filter to ignore all __pycache__ folders

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
yakirs
Posts: 4
Joined: Thu Aug 02, 2018 4:43 pm

Add filter to ignore all __pycache__ folders

Post by yakirs »

Hi,
I want Everything to ignore all files under any "__pycache__" folder
I tried adding "*\__pycache__\*" filter under "exclude", but it doesn't seem to work
Am I missing something?
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Add filter to ignore all __pycache__ folders

Post by NotNull »

Does this work for you?

Menu:Tools > Options >Indexes > Exclude > Add Filter button > Filter = *\__pycache__\

(Not tested)
vanisk
Posts: 152
Joined: Sat Oct 27, 2018 11:33 am

Re: Add filter to ignore all __pycache__ folders

Post by vanisk »

try
*\__pycache__\

Leading * denotes parent folders, trailing * denotes child folders. In your case ("*\__pycache__\*"), everything is excluding ALL the folders (not the files) directly under Pycache.

[i hope i didn't confuse you/me. Not good with English)
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Add filter to ignore all __pycache__ folders

Post by NotNull »

vanisk wrote: Fri Dec 07, 2018 8:41 pm try
*\__pycache__\

Leading * denotes parent folders, trailing * denotes child folders. In your case ("*\__pycache__\*"), everything is excluding ALL the folders (not the files) directly under Pycache.

[i hope i didn't confuse you/me. Not good with English)
I could follow it! (And not only because we had the exact same idea ;))
Good explanation!
Post Reply