SOLVED (MOSTLY)
Exactly what I was looking for. I don't know how I missed that! Argh! My page search should have yielded that, but -- oh well; developer to the rescue.
FEELING POSITIVE
It's amazing how "complete" the implementation of Everything appears to be. There's just almost everything, one could hope for. Even the ability to have bookmarks in subfolders (that was one of the "hidden INI-options" I was happy to discover just the other day).
FILE COUNTS -- IN POWERSHELL
OK, so, just to be clear... The ES CLI-interface makes use of the same settings as the Everything Service, right? So that means, any excluded folders, perhaps also hidden or system files, will not be included in the "result count"?
For example, on my TEMP-drive, when I run the following in powershell:
Code: Select all
(Get-ChildItem -Path "T:\" -Recurse -File -Force -ErrorAction SilentlyContinue | Measure-Object).Count
I get a "
total file count" of:
64204
The PowerShell script counts every single file on the T:\ drive, including hidden files, system files, and files within all folders and subfolders. The count is comprehensive and includes absolutely everything except empty directories.
RESULT COUNTS -- in ES
When I run the same in ES:
I get a "
total result count" of:
75580
So, the result count returned by ES is, apparently, HIGHER than the actual number of files on the drive. What could be the reason for this, assuming that the commands were issued within a second of each other, and no new files were created between the given commands.
I would have assumed, that the result returned by ES might actually be LOWER, if some TEMP folders were excluded, but I'm seeing the opposite. Hmmz.
EDIT/UPDATE -- ADDITIONAL TESTING DONE
OK, so yea, I modified the powershell command, by removing the "-File" option, so it should now return the absolute total count, including empty folders:
Code: Select all
(Get-ChildItem -Path "T:\" -Recurse -Force -ErrorAction SilentlyContinue | Measure-Object).Count
And the "
total" was:
75615
This is much closer to what ES was reporting, so -- the takeway, I must remember to clean up my temp folders completely from time to time. The number of empty folders left in there can get pretty high.
