I am looking for a python script that I wrote my among 600k that exist on my computer. I want to exclude all directories from the search that have a python.exe anywhere in the path. I have a list of directories extrapolated from previous everything search in form of .efu or .txt
I was unable to find a way to exclude a list of folders or many folders other than '!path1\ !path2\' etc
I can go into sublime and manipulate the list to format it to one string to fit the query syntax, but there are so many it isn't very forgiving.
Feels like this should be a thing or I'm just missing something.
Exclude list of folders or..
Re: Exclude list of folders or..
If I'm understanding...
Load the .efu
Set Match Path
Set your search to: !python.exe
Load the .efu
Set Match Path
Set your search to: !python.exe
Re: Exclude list of folders or..
You'll be able to do this with the next major version of Everything with something like:
path:regex:(.*)\\[^\\]*$ !fileexists:\1\\python.exe
For now, you'll need to make a long !path1\ !path2\ list, I found the quickest way to do this:
path:regex:(.*)\\[^\\]*$ !fileexists:\1\\python.exe
For now, you'll need to make a long !path1\ !path2\ list, I found the quickest way to do this:
- In Everything, type in the following search:
child:python.exe - From the Edit menu, click Select All.
- From the Edit menu, under the Advanced submenu, click Advanced Copy to folder....
- In the Copy To dialog, make sure Match case and Regex are unchecked.
- Change the old format to:
%1 - Change the new format to:
!"%1\" - Copy all the New full paths and filenames to the clipboard.
- Click CANCEL
- Paste the list into the Everything search box.