Enumerate Directories of Files based on another File

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerate Directories of Files based on another File

Post by admin »

highend wrote:Btw, this is MUCH better than the property #empty! Crawling through properties is a rather slow process (if you have a few thousand directories / files). This is waaaay faster, thanks!
BTW, the speed difference should be hardly notable between the two:

Code: Select all

?/ed 
?prop:#empty:2
It's the usage where /e is better.

admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerate Directories of Files based on another File

Post by admin »

BTW, anybody interested in having a way to enumerate folders that do NOT contain items of a certain type? :whistle: Well, that will come tomorrow... 8)

highend
Posts: 14582
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Enumerate Directories of Files based on another File

Post by highend »

You mean those folders that don't contain p**n?

Results: Found 0 folders out of 63413...

I knew it, internet was made for *you guess it*
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2717
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Enumerate Directories of Files based on another File

Post by Filehero »

Hi Don,
admin wrote: Here is a preview of the change log:

Code: Select all

  +++ Find Files and Quick Search: Added switch /p (think "parent") by which the 
      search will return the parent folders of the matching items.
      Examples:
        readme.txt /p  //return all folders that contain a file readme.txt
        green /Lp      //return all folders that contain a file labeled "green"
        /p             //return all folders that are not empty (= that are parents)
      Notes:
      -....
Great stuff.

Is there any way we can have this logic/flags added to a SC, maybe folderreport (aka for a complete GUI-less approach)?

Cheers,
Fullhero

admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Enumerate Directories of Files based on another File

Post by admin »

One day I might implement something like this, i.e. a scripting function QuickSearch() that returns the results. But it's quite some work...

highend
Posts: 14582
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Enumerate Directories of Files based on another File

Post by highend »

*Hitting F5 every few seconds from now on* :biggrin:
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2717
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Enumerate Directories of Files based on another File

Post by Filehero »

highend wrote:*Hitting F5 every few seconds from now on* :biggrin:
Can be already scripted gui-lessly. :mrgreen:

Post Reply