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
exclude folder except one subfolder
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 pm
Re: exclude folder except one subfolder
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
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
i tried all 3. none of them working
-
void
- Developer
- Posts: 19871
- Joined: Fri Oct 16, 2009 11:31 pm
Re: exclude folder except one subfolder
Does the following search find your one folder:
"L:\files\$Archive (Bvckup 2)\"
-Please double check the path of this folder.
"L:\files\$Archive (Bvckup 2)\"
-Please double check the path of this folder.