exclude folder except one subfolder

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tiddu
Posts: 17
Joined: Wed May 27, 2020 7:11 am

exclude folder except one subfolder

Post by tiddu »

i want to exclude a folder but include one subfolder with all it's files and folders.

like , i want to exclude "L:\files" but include "L:\files\$Archive (Bvckup 2)" and everything in it. what filter should i create?

"!L:\files* | L:\files\$Archive (Bvckup 2)\*" this is not working
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: exclude folder except one subfolder

Post by void »

Use ** in Everything 1.5 to match subfolders.

Please try the following search:

!L:\files\ | "L:\files\$Archive (Bvckup 2)\"

Please use double quotes (") to escape any spaces.



Alternative searches:

!L:\files\** | "L:\files\$Archive (Bvckup 2)\**"
!regex:"^L:\\files\\(?!\$Archive \(Bvckup 2\)\\.*$)"


** wildcard
tiddu
Posts: 17
Joined: Wed May 27, 2020 7:11 am

Re: exclude folder except one subfolder

Post by tiddu »

i tried all 3. none of them working
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: exclude folder except one subfolder

Post by void »

Does the following search find your one folder:

"L:\files\$Archive (Bvckup 2)\"

-Please double check the path of this folder.
Post Reply