number of files in a folder
number of files in a folder
Can XYplorer show me the number of files in a highlighted folder?
calvin
Re: number of files in a folder
Via hovering over its icon:
Configuration | Information | File Info Tips | [x] Show Hover Box
In the size column:
Configuration | General | Tree and List | List | [x] Show item count with folder sizes
Ofc folder size must then be calculated...
In the properties pane:
Configuration | General | Tree and List | List | [x] Show folder size on Properties tab
Via a custom column......
Configuration | Information | File Info Tips | [x] Show Hover Box
In the size column:
Configuration | General | Tree and List | List | [x] Show item count with folder sizes
Ofc folder size must then be calculated...
In the properties pane:
Configuration | General | Tree and List | List | [x] Show folder size on Properties tab
Via a custom column......
One of my scripts helped you out? Please donate via Paypal
Re: number of files in a folder
Configuration - General - Tree and List - Always show folder sizes
It already calculates the number of elements. (in subfolders too)
It remains only to show to the user this number without additional calculation
It already calculates the number of elements. (in subfolders too)
It remains only to show to the user this number without additional calculation
Re: number of files in a folder
You could do what you are requesting via a script, you'd just need to invoke it by custom toolbar button or shortcut key etc when required, something like the script below should work
The return for your example wouldn't be 14 though, because you haven't counted the 3 folders pictured, you could adjust the script to match your screenshot value though, it wouldn't take much effort.
Code: Select all
status "This folder contains " . eval(foldersize(<curpath>, "<d>+<f>")) . " items";
Re: number of files in a folder
wow, great
Code: Select all
status "This folder contains " . eval(foldersize(<curpath>, "<d>+<f>")) . " items";
status "This folder contains " . eval(foldersize(<curpath>, "<d>")) . " directories";
status "This folder contains " . eval(foldersize(<curpath>, "<f>")) . " files";
status "This folder contains " . eval(foldersize(<curpath>, "<d>")) . " directories and " . eval(foldersize(<curpath>, "<f>")) . " files";
Re: number of files in a folder
Code: Select all
status "This folder contains " . foldersize(<curpath>, "<d> folder(s) / <f> file(s)");
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60591
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: number of files in a folder
Look, I could easily make the Status Bar show the Deep Status if folder sizes are shown. But I personally find it very confusing.
- Attachments
-
- DeepStatus.png (30.65 KiB) Viewed 2875 times
FAQ | XY News RSS | XY Twitter
Re: number of files in a folder
highend, beautiful solution
Where to configure it? (20.60.0400) I do not have that Status Bar Deep Status like on your screenshot. Or is it a your private build on the screenshot?
Tree and List - "Always show folder sizes" + "Show item count with folder sizes" are turned on.
For both types are options and checkboxes in the configuration.
wow, it's cool!
Where to configure it? (20.60.0400) I do not have that Status Bar Deep Status like on your screenshot. Or is it a your private build on the screenshot?
Tree and List - "Always show folder sizes" + "Show item count with folder sizes" are turned on.
All people are different. What confuses one is to the other very cool. And vice versaBut I personally find it very confusing.
For both types are options and checkboxes in the configuration.
-
- Site Admin
- Posts: 60591
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: number of files in a folder
I'll add a tweak to the next version:
Code: Select all
StatusBarDeepStatus=1
FAQ | XY News RSS | XY Twitter
Re: number of files in a folder
Nice, thanksadmin wrote: ↑27 Jan 2020 12:32 I'll add a tweak to the next version:Code: Select all
StatusBarDeepStatus=1
-
- Site Admin
- Posts: 60591
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: number of files in a folder
So, anybody likes the Deep Status ? I.e. should that become an option in Configuration?
FAQ | XY News RSS | XY Twitter