Page 2 of 2

Re: Enumerate Directories of Files based on another File

Posted: 19 Dec 2014 15:54
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.

Re: Enumerate Directories of Files based on another File

Posted: 19 Dec 2014 21:34
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)

Re: Enumerate Directories of Files based on another File

Posted: 19 Dec 2014 22:26
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*

Re: Enumerate Directories of Files based on another File

Posted: 20 Dec 2014 18:20
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

Re: Enumerate Directories of Files based on another File

Posted: 20 Dec 2014 20:16
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...

Re: Enumerate Directories of Files based on another File

Posted: 20 Dec 2014 20:20
by highend
*Hitting F5 every few seconds from now on* :biggrin:

Re: Enumerate Directories of Files based on another File

Posted: 20 Dec 2014 20:25
by Filehero
highend wrote:*Hitting F5 every few seconds from now on* :biggrin:
Can be already scripted gui-lessly. :mrgreen: