Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Everything finding directories with 2 or more files in them

May
130
1
All,
Probably a question for @vefatica, but anyone is welcome to pitch in,
I'm trying to search for folders that have 2 files or more in a folder,
I got to the point that I need the function child: but child just takes a filename
searching for a folder with the specific filename, but does anybody know
how to look for directories that has 2 or more files in them

TIA
 
Everything knows pretty little about directory structures as we know them.

I'd start by trying
Code:
GLOBAL /I /Q ... if @FILES[] ...
 
hmm. ok, I wanted to do it in ES for the speed and also being able to save it as a file list .efu, but GLOBAL would work, but being incredibly slow

Thanks
 
You can combine the search by EVERYTHING with a test by TCC
Code:
everything "folder:*" | for %f in (@con:) if %@files[%f] ge 2 echo %f
You won't be able to store it as .efu.
 

Similar threads

Back
Top