Page 1 of 1

files count inside folder

Posted: Wed Oct 06, 2021 3:00 pm
by pwu
Hi Mike,

is there any quick way to know how many files are inside certain folder without entering inside? NC/Far manager shows files count with panel quick view and it's very useful :)

thank you!

Re: files count inside folder

Posted: Wed Oct 06, 2021 9:14 pm
by mike
Hey, currently there's no such functionality available directly.
I guess one could do with 2 key strokes instead:
1) Cmd+F
2) Mask = *, no filters (i.e. default)
3) Enter
4) At the bottom of the dialog there will be e.g. "Items found: 285".

Re: files count inside folder

Posted: Thu Oct 07, 2021 9:37 am
by pwu
Thank you, but it's not one-step action and it's quite the same - number of files is shown at the bottom line if I just enter the folder. My case is just the following - I have bunch of folders and I need to check how many files are inside each of them. Using Far Manager on PC I press ctrl-Q (quick info panel) and move cursor through all of them (quick panel shows folder size and files count)

I'm not sure if it might be easily implemented but possibly you have an idea how to do it.

Thank you in advance!

Re: files count inside folder

Posted: Sun Oct 10, 2021 10:14 pm
by mike
Right, I see...
I'm afraid it's not possible now - only QuickLook previews are getting updated by cursor movements at the moment.
Another option would be to have a shell script that prints the number when executed as an external tool, but again that's two keystrokes - one to execute a tool and another to return from a terminal.

Re: files count inside folder

Posted: Mon Oct 11, 2021 3:51 pm
by pwu
ahh, okey! thank you!

just as an idea - is it possible to show files count in size column for folders? like 150 G/1300 files? it might be easily shown/updated for selected folder or bunch of folders with Calculate Folder Sizes feature (very useful feature by the way, thank you for your job)

Re: files count inside folder

Posted: Sat Oct 16, 2021 10:00 pm
by mike
That's a good idea.
Collecting such stats together with sizes calculation is a reasonable thing to do.
I'm not quite sure how to represent it in the UI though.
Mixing it with sizes doesn't look like a clean solution.

Re: files count inside folder

Posted: Sun Oct 17, 2021 2:49 pm
by pwu
yes, I agree, it will look strange.
might it be optional column or just additional info in the bottom line like this (I've attached image)?