files count inside folder

Any wishes
Locked
pwu
Posts: 33
Joined: Mon Apr 26, 2021 2:46 pm

files count inside folder

Post by pwu » Wed Oct 06, 2021 3:00 pm

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!

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: files count inside folder

Post by mike » Wed Oct 06, 2021 9:14 pm

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".

pwu
Posts: 33
Joined: Mon Apr 26, 2021 2:46 pm

Re: files count inside folder

Post by pwu » Thu Oct 07, 2021 9:37 am

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!

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: files count inside folder

Post by mike » Sun Oct 10, 2021 10:14 pm

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.

pwu
Posts: 33
Joined: Mon Apr 26, 2021 2:46 pm

Re: files count inside folder

Post by pwu » Mon Oct 11, 2021 3:51 pm

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)

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: files count inside folder

Post by mike » Sat Oct 16, 2021 10:00 pm

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.

pwu
Posts: 33
Joined: Mon Apr 26, 2021 2:46 pm

Re: files count inside folder

Post by pwu » Sun Oct 17, 2021 2:49 pm

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)?
Attachments
screen.jpg
screen.jpg (302.62 KiB) Viewed 22842 times

Locked