FEATURE REQUEST - File List Overrides Exclusions
FEATURE REQUEST - File List Overrides Exclusions
I feel that if a user creates a file list then everything in that list should override any Exclusion that might otherwise eliminate any rows from that file list. In my case I don't care to index all of the crap in my various program files.. folders, so I exclude them using the Exclude Folders functionality. What I DO want to see is all .exe files in those folders. So I made files lists of them and added them via the File Lists functionality. What I got was duplicates of all of the exe files in those folders when I searched. So I excluded the program files... folders in Exclude Folders dialog. And then I lost all files from those folders, including those in my explicit lists.
Re: FEATURE REQUEST - File List Overrides Exclusions
I have put on my TODO list to ignore the exclude list when opening a file list.
Thank you for the suggestion.
Thank you for the suggestion.
Re: FEATURE REQUEST - File List Overrides Exclusions
Please avoid using filelists and try the following file exclude filter:
- In Everything, from the Tools menu, click Options.
- Click the Exclude tab on the left.
- Select C:\Program Files and click Remove.
- Select C:\Program Files (x86) and click Remove.
- Set Exclude files to:
regex:^c:\\program files\\.*(?<!\.exe)$;regex:^c:\\program files (x86)\\.*(?<!\.exe)$ - Click OK.
- Click the File list tab on the left.
- Remove any file lists.
- Click OK.
Re: FEATURE REQUEST - File List Overrides Exclusions
I apologize for the length of this. But I found a small modicum of effort to get something, anything, done - and this was chosen. And while it turned out to be quite the rabbit hole, I am still quite confident that the stuff I mention/layout will provide great user benefit - from either implementation and/or documentation efforts. I will add that even if you just add some or even all of that I mention only in v1.5, those things will still really improve your already-most-helpful application!!
- Thank you for adding this request to the TODO menu.
- You came back and said please do not use File Lists. What is the reason/problem for not using them that would cause you to make that recommendation?
- I also appreciate it that you gave me a regex I could use as a File Exclude filter. However, that is (to me) a VERY complex regex, meaning it would be difficult for me to extend it (to say add in another file extension to include, or to allow all files in a particular subfolder to be included as well. This makes this option rather unwieldy at best. I suppose I could get some AI option to help extend it, but I don't think I should have to futz with either of those when you have a simple construct that I DO know how to quite easily put to use. Thus, I still hope you can add in the feature as I requested it.
- Item 3 adds to a SIGNIFICANT collection of folder/file include/exclude logical precedences:
- There are now numerous combinations of Allow/Exclude pairs/triplicates/+/+ settings that can ADD Drives/Folders/Subfolders/File by multiple mechanisms, as well as EXCLUDE items via the same mechanism. I very much encourage you to develop a full set of order-of-precedence rules that govern what the FINAL set items that overlapping allowances/excludes affect. Personally, I am STRONGLY in favor of MORE SPECIFIC constraints
overriding LESS SPECIFIC constraints. "Specific" here is based on the full path of each given allowance/exclusion rule. - For example:
- Drive C is included as a Local NTFS Volume
- C:\Program Files\* is excluded as a Folder Exclude
- C:\Program Files\My Important Application\* is included as a Folder Add
- a regex excludes C:\Program Files\My Important Application\*.dll files
- a regex includes C:\ProgramFiles\Another Important App\*.exe files
- Then the final set of INCLUDED folders/files, at least from my notion of precedence, would be the logically-resultant set:
- Include all folders/files from the C drive
- "Then Exclude" files in C:\Program Files\*
- "Then Add back in" folders and files from C:\Program Files\My Important Application\* (including subfolders)
- "Then Exclude" all files matching C:\Program Files\My Important Application\*.dll (including subfolders)
- "Then Add back in" matching files from C:\ProgramFiles\Another Important App\*.exe (including subfolders)
- Note: My use of "Then..." is to hopefully make my verbiage easier to understand. Programmatically it would be quite inefficient to do it that way.
- There are now numerous combinations of Allow/Exclude pairs/triplicates/+/+ settings that can ADD Drives/Folders/Subfolders/File by multiple mechanisms, as well as EXCLUDE items via the same mechanism. I very much encourage you to develop a full set of order-of-precedence rules that govern what the FINAL set items that overlapping allowances/excludes affect. Personally, I am STRONGLY in favor of MORE SPECIFIC constraints
- I have just stumbled across the fact that on the Exclude Tab we have options for Include Only Files and Exclude Files.
- The logic from both of these items should obviously be included in the precedence-based filtering algorithm mention in #4 above.
- I note that both of those folders seem to apply to EVERY Exclude Folder entered. I think this is suboptimal. It would be MUCH more flexible/useful to be allowed to have different Include/Exclude lists for EACH Excluded Folder specifically. But you should also have a checkbox for each to "Apply to All Folders" for user convenience.
- The documentation for these two options implies, and only provides examples for, FILE-based filters - not FOLDER-based filters. I think this is a significant limitation. And I would hope it would be moderately straightforward to add into the existing logic.
- Why do these Include Only Files and Exclude Files options only apply to the Exclude Tab, and not the Folders tab? It seems they should be equally applicable to both.
- Actually, why do we not also have both options available for NTFS and REFS Drives as well?
- Finally, if these two options were fully fleshed out as I mention, would it then be possible to accomplish some, or perhaps all, of what I requested in my OP as well as my other suggestions/requests in this post??
Re: FEATURE REQUEST - File List Overrides Exclusions
Based on what I just noticed, it seems that the Exclude Tab's Include Only Files and Exclude Files options apply to ALL indexed items (specifically NTFS drives)??
I had put in "asdf" for Include and "asd" for Exclude for those two options respectively. Then did a search on my E Drive (which was not included in any option other than the NTFS Local NTFS Volumes list box) for regex:occt.* ext:exe. QUITE surprisingly, nothing was returned. Then I blanked out the Include Only Files and Exclude Files lists and POOF - the 4 expected files showed up immediately (2 in C Drive, 1 in E Drive, 1 in T Drive).
I think this is an absolutely incorrect (exceptionally confusing and unexpected at best) way to process those two lines of inputs. I note that my prior post proposes how to fix this issue, namely providing Include Only Files and Exclude Files options in ALL relevant locations, while also making them able to be per-indexed-item attached.
Thanks again for your consideration!!
I had put in "asdf" for Include and "asd" for Exclude for those two options respectively. Then did a search on my E Drive (which was not included in any option other than the NTFS Local NTFS Volumes list box) for regex:occt.* ext:exe. QUITE surprisingly, nothing was returned. Then I blanked out the Include Only Files and Exclude Files lists and POOF - the 4 expected files showed up immediately (2 in C Drive, 1 in E Drive, 1 in T Drive).
I think this is an absolutely incorrect (exceptionally confusing and unexpected at best) way to process those two lines of inputs. I note that my prior post proposes how to fix this issue, namely providing Include Only Files and Exclude Files options in ALL relevant locations, while also making them able to be per-indexed-item attached.
Thanks again for your consideration!!
Re: FEATURE REQUEST - File List Overrides Exclusions
Everything already ignores the exclude list when opening a file list from File -> Open File List.Thank you for adding this request to the TODO menu.
I am considering an option to ignore the exclude list when including a file list from Tools -> Options -> File List.
File lists can be a pain to keep up-to-date.You came back and said please do not use File Lists. What is the reason/problem for not using them that would cause you to make that recommendation?
Using a filter or exclude filter would be ideal.
FYI: You can edit your Everything filter.
Consider changing your Everything filter search to:
!<"c:\program files\" | "c:\program files (x86)\"> | ext:exe
This might be easier to setup than complex regex look behind patterns.
Include only folders can be set under Tools -> Options -> NTFS/ReFS/FAT/Network DriveWhy do these Include Only Files and Exclude Files options only apply to the Exclude Tab, and not the Folders tab? It seems they should be equally applicable to both.
Correct.Based on what I just noticed, it seems that the Exclude Tab's Include Only Files and Exclude Files options apply to ALL indexed items (specifically NTFS drives)??
Folders are excluded first.
Include-only/exclude files cannot override include-only/exclude folders.
The whole filename is matched.I had put in "asdf" for Include and "asd"
Use * wildcards to perform partial matching.
This should only show asdf files in your results.
The asd exclude won't do anything.