Is there a column showing the amount of items contained in a folder?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Is there a column showing the amount of items contained in a folder?

Post by Biff »

Is there a column showing the amount of items contained in a folder?
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

Child Count
-or-
Descendant Count (includes subfolders)
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

Many thanks!

So when in the column "Descendant Count" the value is "0" the folder is ALWAYS absolutely empty?

So is this correct?

child-count;descendant-count;

Code: Select all

!A: !B: !D: !E: !F: !G: !H: !K: !L: !M: !N: !O: !P: !Q: !R: !S: !T: !U: !V: !W: !X: !Y: !Z: column1:=size: columns:name;child-count;descendant-count;extension;size;date-created;date-modified;path;date-accessed;type;date-indexed;volume-label;full-path-length;column1;length;full-path
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

descendantcount:0 will match empty folders in your index.

If you are not excluding any files/folders then the folder should also be empty on disk.

Use right-click -> Properties (Alt + Enter) to double check.

empty: will also match empty folders.


So is this correct?

child-count;descendant-count;
Yes.
I recommend only showing the descendant-count column when needed as gathering this information is expensive.
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

Use right-click -> Properties (Alt + Enter) to double check.
For online drives only?
descendantcount:0 will match empty folders in your index.
So escendantcount:0 or empty: entered in the search field show every really empty folder in the index and for online drives? There is no difference between what they are showing.
I recommend only showing the descendant-count column when needed as gathering this information is expensive.
In what way? It seems as if the values are available / shown immediately (for offline drives as well). Is there any indexing needed (to show the information for offline drives)? So gathering child-count information is not expensive?
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

Use right-click -> Properties (Alt + Enter) to double check.

For online drives only?
Yes, online drives only.


So escendantcount:0 or empty: entered in the search field show every really empty folder in the index and for online drives?
Yes, online and offline folders are included in the count.
The descendant count is calculated from your index. Not from disk.


There is no difference between what they are showing.
The following are exact the same:

descendantcount:0
empty:


I recommend only showing the descendant-count column when needed as gathering this information is expensive.
In what way?
The information is gathered from your index. Not from disk.
Everything has to find and count all descendant folders and files.
It can take some time to find all the descendant folders and files.
Especially for root folders.


It seems as if the values are available / shown immediately (for offline drives as well). Is there any indexing needed (to show the information for offline drives)?
There's no option to index this information as it is already indexed.


So gathering child-count information is not expensive?
Calculating child-count: is instant.
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

OK, I understand, thank you very much!

By the way, is there a field suitable / an option (somewhere in the Bookmarks / Filters windows or else) to make some notices.
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

Aside from the name, no.

It's possible to add a comment to your search with nop:

For example:
nop:"my bookmark note"

nop:
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

OK, many thanks!
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

In the search field?
Image

So everything behind nop: does not have any effect. Does one have to use quotation marks behind nop:?
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

Yes, in the search field.

Use double quotes to escape any spaces.

nop: will do nothing.
nop: will not have any effect on your results.
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

OK, so everything without quotation marks, I guess (like in my example in the screenshot). Sorry, then what does that mean:
Use double quotes to escape any spaces.
void
Developer
Posts: 16754
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is there a column showing the amount of items contained in a folder?

Post by void »

Please use double quotes after nop:

For example:
nop:"my bookmark note"
Biff
Posts: 1158
Joined: Mon May 25, 2015 7:09 am

Re: Is there a column showing the amount of items contained in a folder?

Post by Biff »

Ah, okey, sorry for my confusion. Thank you.
Post Reply