In the excludes tab under options, I write a path in "include only files" I click on "Add filter" and add a path. Afterwards, I see folders from other storage media showing up in the search list including the C drive. How do I get everything to show only FOLDERS AND FILES in "include only files" path and ignore everything else?
Include only folders showing other folders
Re: Include only folders showing other folders
maybe here
- Attachments
-
- 2022-11-10_131042.jpg (230.58 KiB) Viewed 1886 times
Re: Include only folders showing other folders
The Include only files setting is intended to only take a list of filenames, or wildcard of filenames, or paths of filenames. Regardless of where you enter the information (eg, the "..." button then "Add Filter" button, or typing it out manually), the rules of the setting's hover text must still be followed. These are the rules of the Include only files setting that must be followed.
You did not type a full path and filename, or full path and wild filename. You just typed a naked path, which is an invalid input. It needs a filename, or a wildcard filename, for it to be considered a "file" input. Include only files.
In your first filter, try appending \* to the end, as in ...\download android folder\testing\* for it to become a fully qualified file path.
However, I recommend taking LeoLUG's approach. The above section is not the appropriate place to specify indexed folder paths with subfolders. It's intended to restrict search results to specific types of documents and media, to prevent the user from accessing other files and filetypes. Eg, a video kiosk or document workstation.
You did not type a full path and filename, or full path and wild filename. You just typed a naked path, which is an invalid input. It needs a filename, or a wildcard filename, for it to be considered a "file" input. Include only files.
In your first filter, try appending \* to the end, as in ...\download android folder\testing\* for it to become a fully qualified file path.
However, I recommend taking LeoLUG's approach. The above section is not the appropriate place to specify indexed folder paths with subfolders. It's intended to restrict search results to specific types of documents and media, to prevent the user from accessing other files and filetypes. Eg, a video kiosk or document workstation.
Re: Include only folders showing other folders
So there is no single solution for including one folder path while excluding the rest everywhere in all volumes?
Re: Include only folders showing other folders
Please try one of the following:
1) Set include only:
2) Use folder indexing instead:
3) Set a negative look ahead regex exclude (not ideal):
1) Set include only:
- In Everything, from the Tools menu, click Options.
- Click the NTFS tab on the left.
- Select your C: drive.
- Change Include only to:
C:\Users\user\Desktop\s8 folder structure\download android folder\testing - Select your I: drive.
- Change Include only to:
I:\filemanagerplus.outerfolder.2downloadsfolder\Download - Click the Exclude tab.
- Clear Include only files.
- Click OK.
2) Use folder indexing instead:
- In Everything, from the Tools menu, click Options.
- Click the NTFS tab on the left.
- For each NTFS volume:
- Uncheck Include in database.
- Click the Folders tab on the left.
- Click Add folder....
- Select your include only folder and click OK.
- Repeat for additional folders.
- Click OK.
- Click the Exclude tab.
- Clear Include only files.
- Click OK.
3) Set a negative look ahead regex exclude (not ideal):
- In Everything, from the Tools menu, click Options.
- Click the Exclude tab.
- Click Add filter....
- Set the filter to:
regex:^(?!c:(\\users(\\user(\\Desktop(\\s8 folder structure(\\download android folder(\\testing(\\.*)?)?)?)?)?)?)?$) - Click OK.
- Click OK.
Re: Include only folders showing other folders
Thanks for the clarification. Everyday I learn something new lolvoid wrote: ↑Fri Nov 11, 2022 8:38 am Please try one of the following:
1) Set include only:
- In Everything, from the Tools menu, click Options.
- Click the NTFS tab on the left.
- Select your C: drive.
- Change Include only to:
C:\Users\user\Desktop\s8 folder structure\download android folder\testing- Select your I: drive.
- Change Include only to:
I:\filemanagerplus.outerfolder.2downloadsfolder\Download- Click the Exclude tab.
- Clear Include only files.
- Click OK.
2) Use folder indexing instead:
- In Everything, from the Tools menu, click Options.
- Click the NTFS tab on the left.
- For each NTFS volume:
- Uncheck Include in database.
- Click the Folders tab on the left.
- Click Add folder....
- Select your include only folder and click OK.
- Repeat for additional folders.
- Click OK.
- Click the Exclude tab.
- Clear Include only files.
- Click OK.
3) Set a negative look ahead regex exclude (not ideal):
- In Everything, from the Tools menu, click Options.
- Click the Exclude tab.
- Click Add filter....
- Set the filter to:
regex:^(?!c:(\\users(\\user(\\Desktop(\\s8 folder structure(\\download android folder(\\testing(\\.*)?)?)?)?)?)?)?$)- Click OK.
- Click OK.
Re: Include only folders showing other folders
Note that negative inclusion (the Exclusion tab) is going to be the slower option, because you are indexing all your drives and then deleting all the entries from that index except for a few files. It's like borrowing all the books from the library and then picking out the one you want to read after you get home, burning all the rest in your front yard. Plus heavy regex consumes CPU.