Folders with Co-existing 2 filetypes

General discussion related to "Everything".
Post Reply
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Folders with Co-existing 2 filetypes

Post by copernicus »

Could you help me with this scenario if possible, please?
I want to locate the files in folders only if both 2 filetypes exist,
- 2 different extensions (say .abc and .xyz)
- .abc's larger than 150MB and .xyz's smaller than 10KB (or no limitation)
- only the instances where both exist
- in 4 different external drives, excluding a second level directory in one of them (c:/aaa/abc) and excluding a top level in another (d:/bbb)
Thanks.
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folders with Co-existing 2 filetypes

Post by void »

Not possible in a single pass.

With Everything 1.5, with multiple passes:

Get a list of the abc files, search for:
c:|d:|e:|f: !c:/aaa/abc/ !d:/bbb/ *.abc size:>150MB

Select all files and copy all filenames (Ctrl + Shift + C)
Search for:
filelist1:

Right click the filelist1: text in the search box and click Edit File List Slot...
Paste your filenames and click OK.

Get a list of the xyz files, search for:
c:|d:|e:|f: !c:/aaa/abc/ !d:/bbb/ *.xyz size:<10kb

(optionally remove the size limit)
Select all files and copy all filenames (Ctrl + Shift + C)
Search for:
filelist2:

Right click the filelist2: text in the search box and click Edit File List Slot...
Paste your filenames and click OK.

Get a list of common parents, search for:
childfilelist1: childfilelist2:

This will show you the folders that contain the desired files.
Select all files and copy all filenames (Ctrl + Shift + C)
Search for:
filelist3:

Right click the filelist3: text in the search box and click Edit File List Slot...
Paste your filenames and click OK.

To show the files in these folders, search for:
parentfilelist3:
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

Thank you very much.
After ctrl+shift+c, 'filelist1:' action doesn't do anything for me. I've checked and ctrl+left click or f2 doesn't work either... I mean I can't open 'Edit File List Slot'.

I've used your solution here: viewtopic.php?t=10857

Is there a notation for excluding all folders with certain characters? Exclude all the folders (root or sub) with names containing "11" in them...
Last edited by copernicus on Fri Apr 25, 2025 12:35 pm, edited 3 times in total.
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Folders with Co-existing 2 filetypes

Post by therube »

ctrl+shift+c
Not quite sure what was meant by that?

Believe, Ctrl+A (select all file names) + Ctrl+C (copy said names to clipboard), should do it.

After that you change your search to,
filelist1:

& paste your just copied content into the filelist1:.
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

therube wrote: Fri Apr 25, 2025 4:05 pm
ctrl+shift+c
Not quite sure what was meant by that?

Believe, Ctrl+A (select all file names) + Ctrl+C (copy said names to clipboard), should do it.

After that you change your search to,
filelist1:

& paste your just copied content into the filelist1:.
I was instructed to ctrl+shift+c above :? . There were no "paste" options when you type filelist1: and right click on it whatsoever, but now with 1.5a, there is.
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Folders with Co-existing 2 filetypes

Post by therube »

Hmm.

First time I tried it, Ctrl+Shift+C didn't seem to work, but trying again, it does.
(Accomplishes the same as what I did above - but using more steps.)


Ah, actually there is difference in behavior.

What I described copies the file name(s).
Ctrl+Shift+C, copies the fullname(s) (so including path).
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

There wasn't a problem with copying (ctrl+shift+c or select all+copy). The problem was, and still is as long as v1.4 is concerned, the instruction or shortcuts to create a filelist was wrong. You can't (at least I couldn''t :) ) paste anything to and create a 'filelist1' via the instructions above in order to apply the second query within...
NotNull
Posts: 5961
Joined: Wed May 24, 2017 9:22 pm

Re: Folders with Co-existing 2 filetypes

Post by NotNull »

copernicus wrote: Fri Apr 25, 2025 5:28 pm The problem was, and still is as long as v1.4 is concerned, the instruction or shortcuts to create a filelist was wrong.
The instructions:
void wrote: Fri Apr 25, 2025 12:21 am Not possible in a single pass.

With Everything 1.5, with multiple passes:
[...]
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

NotNull wrote: Fri Apr 25, 2025 5:42 pm
void wrote: Fri Apr 25, 2025 12:21 am With Everything 1.5
[...]
Oh my!
I wasn't aware of an alpha version then and intuitively I assumed the latest version on the main page is the 'version'. Apologies for not realizing the version differences earlier...but a heads up would have been appreciated.
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

void wrote: Fri Apr 25, 2025 12:21 am With Everything 1.5, with multiple passes:

c:|d:|e:|f: !c:/aaa/abc/ !d:/bbb/ *.abc size:>150MB

Ctrl + Shift + C
filelist1:

Right click the filelist1:
Edit File List Slot...
Paste
OK.
c:|d:|e:|f: !c:/aaa/abc/ !d:/bbb/ *.xyz size:<10kb

Ctrl + Shift + C
filelist2:

Right click the filelist2:
Edit File List Slot...
Paste
OK.
childfilelist1: childfilelist2:

Ctrl + Shift + C
filelist3:

Right click the filelist3:
Edit File List Slot...
Paste
OK.
parentfilelist3:
This is not producing exactly what I needed because the resulting file list removes the size conditions per extension. For instance, filelist1 is .abc's larger than 100MB and filelist2 is .xyz's smaller than 10kb but the parentlist3 lists all the files regardless of these two restrictions in folders if the folder includes a file larger than 100MB .abc and smaller than 10kb .xyz.
The result, under my circumstances, should have resulted with a >100 .abc and a <10 .xyz per folder when sorted by path.
void
Developer
Posts: 19830
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folders with Co-existing 2 filetypes

Post by void »

Same as above, except in the last step (parentfilelist3:), search for:

Code: Select all

parentfilelist3: filelist1:|filelist2:
copernicus
Posts: 11
Joined: Thu Apr 24, 2025 4:12 pm

Re: Folders with Co-existing 2 filetypes

Post by copernicus »

void wrote: Sun Apr 27, 2025 1:25 am Same as above, except in the last step (parentfilelist3:), search for:

Code: Select all

parentfilelist3: filelist1:|filelist2:
Brilliant. This could be the most useful software of all time on Windows. I'll try to get a better grasp of it by myself. I appreciate for your great help.
Post Reply