Show NUMBER of Files, as a column (just as the "filesize" column)
Moderators: Hacker, petermad, Stefan2, white
Show NUMBER of Files, as a column (just as the "filesize" column)
I often need to see/find the number of files in a folder (and in its subfolders).
Background :
- I am syncronizing (using "Free File-Sync"), and after some time, the number of files has grown so much, that I need to zip/pack the files in the folders.
- And, this is a "pain in the a.." without a "number-of-files" being shown (by default).
So, what I hope for, and need :
- a column, that will show "the number of files" in the subfolder(s) - for each line.
- a bit like my Thunderbird-program, which shown number of emails (unread)...
This also now makes sense, because screens have gotten bigger, and there has come good room for "more columns" in the 2-window interface.
PS: IF this already exists, the sorry. And, then please tell, how to make this work/show in the 2-window interface.
Background :
- I am syncronizing (using "Free File-Sync"), and after some time, the number of files has grown so much, that I need to zip/pack the files in the folders.
- And, this is a "pain in the a.." without a "number-of-files" being shown (by default).
So, what I hope for, and need :
- a column, that will show "the number of files" in the subfolder(s) - for each line.
- a bit like my Thunderbird-program, which shown number of emails (unread)...
This also now makes sense, because screens have gotten bigger, and there has come good room for "more columns" in the 2-window interface.
PS: IF this already exists, the sorry. And, then please tell, how to make this work/show in the 2-window interface.
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
DirSizeCalc content plugin - https://totalcmd.net/plugring/dirsizecalc.html
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
well, laptop screens does not get bigger, so it is a bad idea to impose this feature for all users as a default setting.janla wrote: 2023-10-20, 10:55 UTC This also now makes sense, because screens have gotten bigger, and there has come good room for "more columns" in the 2-window interface.
You can make a Custom columns view and use the plugin DirSizeCalc (as suggested by Gral).janla wrote: 2023-10-20, 10:55 UTC PS: IF this already exists, the sorry. And, then please tell, how to make this work/show in the 2-window interface.
See: https://tcmd.madsenworld.dk/filecountcustomcolumn.png
In TC it will look like this: https://tcmd.madsenworld.dk/filecountcustomcolumn2.png
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
thanks for the quick help.
I have tried the plugin out. And, unfortunately it is quite slow.
So, I will not be able to use it, unless there is a way to enable/disable it ... which I could not find.
(and I found a much faster alternative - for specific use: "TreeSize-Free")
..
(so - I have removed the plugin from TC. And, when I need file-count, I will use TreeSize-Free)
..
(however, if there is/was a smart enable/disable option - then DirSizeCalc could be an option .. or if the functionality got implemented in TC (as a custom-selectable column))
I have tried the plugin out. And, unfortunately it is quite slow.
So, I will not be able to use it, unless there is a way to enable/disable it ... which I could not find.
(and I found a much faster alternative - for specific use: "TreeSize-Free")
..
(so - I have removed the plugin from TC. And, when I need file-count, I will use TreeSize-Free)
..
(however, if there is/was a smart enable/disable option - then DirSizeCalc could be an option .. or if the functionality got implemented in TC (as a custom-selectable column))
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
WizTree is considered the fastest.janla wrote: 2023-10-20, 15:03 UTCI found a much faster alternative - for specific use: "TreeSize-Free"
Overquoting is evil! 👎
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
If we already use it, maybe Everything can be at help with this? It already have indexed all the files and folders on our hard drives.
Just a crazy thought: if just Void make a Everything TC plugin? I think that will be even faster than WizTree...
Just a crazy thought: if just Void make a Everything TC plugin? I think that will be even faster than WizTree...
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
2massor
I think you are not the only one who has had such thoughts. But indexing isn't necessarily ubiquitous, it depends on the settings. There are also problems with updating the database when the program doesn't work as a service from the system start. It would be better if DirSizeCalc or a similar plugin used MFT when calculating.
I think you are not the only one who has had such thoughts. But indexing isn't necessarily ubiquitous, it depends on the settings. There are also problems with updating the database when the program doesn't work as a service from the system start. It would be better if DirSizeCalc or a similar plugin used MFT when calculating.
Overquoting is evil! 👎
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
The "new" custom column is easily changed to a different or standard custom column view with a left-click to the column headings and switching or by clicking the "All Files Details" button on the standard button bar.(however, if there is/was a smart enable/disable option - then DirSizeCalc could be an option .. or if the functionality got implemented in TC (as a custom-selectable column))
I used DirSizeCalc and Everything and the speed is great on a local folder, much slower on a network share.
Re: Show NUMBER of Files, as a column (just as the "filesize" column)
Directly in Everything 1.5a, the number of files can be displayed in real-time in the column "Descendant File Count".janla wrote: 2023-10-20, 10:55 UTC I often need to see/find the number of files in a folder (and in its subfolders).
So, what I hope for, and need :
- a column, that will show "the number of files" in the subfolder(s) - for each line.
The column can be added as follows:
- Right-click on a column heading, e.g. "Date Modified" > Add Columns... > Everything Properties - Search: desc >
Double click on "Descendant File Count".
- OR - - Enter the following in the Everything search box:
In this case, "Column A" is displayed as the column heading.
Code: Select all
addcolumn:column-a column-a:=descendant-file-count:
Even better:Code: Select all
addcolumn:column-A; A-label:="Descendant File Count" A:=descendant-file-count:
Everything counts hidden files by default.
To get the same number of files in Total Commander, the hidden files must be shown in TC -> cm_SwitchHidSys.
More detailed example: Bookmark with macro and additional columns...
Bookmark & Search query in 'Everything' 1.5.0.1358a (x64)
- Menu "Bookmarks" > "Organize Bookmarks..." > New...
- Bookmark - Name (max. approx. 260 characters):
Code: Select all
Files\Inside a folder\Child File & Folder Count | Descendant Count | addcolumn:column-a column-a:=descendant-file-count: | https://www.ghisler.ch/board/viewtopic.php?t=80341 Show NUMBER of Files, as a column (just as the "filesize" column)
- Match case: ... Regular expressions: Disabled
- Search: (No change)
- OR -
Search: Custom | Path - Filter: Everything
- Columns: > Select... > Add... (See also: descendant | childcount)
Code: Select all
Name;Path;Extension;Size;Total Size;Descendant Count;Descendant File Count;Descendant Folder Count;Child File Count From Disk;Child Folder Count From Disk;Child Count From Disk;Date Modified;Date Created;Date Accessed
- Sort: Name | Ascending
- View: (No change)
- Index: Local database
- Macro: desc
For a search query with macro "desc", the following must be entered in the Everything search box: desc: (with ':' colon!) - Keyboard shortcut: ... as you like ...
- Click on button "OK", "OK".
- The creation of the bookmark is now complete.
- Enter the search query directly in 'Everything' using the macro - the result is displayed in real time(!), e.g.
- - OR -
Code: Select all
desc:
- - OR -
Code: Select all
D:\Test desc:
... [your path - to narrow down the search a little] ...Code: Select all
desc: D:\Test
A transfer of the search result from 'Everything' to Total Commander is possible - after the corresponding setup in 'Everything' -
e.g. by double-clicking on the folder OR path in 'Everything'.
See: Point 13.2.g. - SETTINGS: For 'Everything' in Total Commander & 'Everything' -> from 'Everything' Version 1.5
Example:
Options - 1.5.0.1358a (x64) > Context Menu > Open (Folders) > Command: $exec("C:\totalcmd\TOTALCMD64.EXE" /O /A /S "%1")
Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2428) | TC 11.02RC3 x64/x86
Search queries: Total Commander <=> 'Everything' | 'Everything' 1.5.0.1358a (x64) | descendant | childcount