Consider the following scenario:
1.Assume that below are the only directories inside C drive wherein the directory structure is as follows:
C:\Program Files\...
C:\Program Files (x86)\...
C:\Windows\...
C:\Users\support\...
C:\Users\Public\...
2. Assume the size of each of the directories is as follows:
Program Files (100 bytes)
Program Files (x86) (50 bytes)
Windows (30 bytes)
Users\support (60 bytes)
Users\Public (70 bytes)
So, in this scenario, Everything Search Utility will return the size of C drive as 310 bytes. Is there a way that it can return the size of C drive as 90 bytes by excluding the directories "Program Files", "Program Files (x86)", and "Users\Public"?
Any help regarding the above will be appreciated. Also, if it is possible, what will be the ES command for the same?
Thank you for the help.
Size of the drive after excluding certain sub directories
Re: Size of the drive after excluding certain sub directories
This seemed like an easy question, but in fact: it's not! That's because the size shown for c:\ is the total size on disk and not the resulting size of your query ( or )
If you have Show size in status bar enabled (under Menu:Tools > Options > General > View ), the total file/folder size will be shown in the statusbar on the right.
If you don't have Show size in status bar enabled, you can:
A -get-result-size option would help here (there is already a -get-result-count )
C:\Windows\ | C:\Users\support\
!"c:\Program Files\" !"c:\Program Files (x86)\" !"c:\Users\Public"
If you have Show size in status bar enabled (under Menu:Tools > Options > General > View ), the total file/folder size will be shown in the statusbar on the right.
If you don't have Show size in status bar enabled, you can:
- Run your search query
- Export the results as an EFU file (Menu:File > Export)
- Import this EFU file (Menu:File > Open File List
- Search
root:
- REad the size from C:
- Close the File List by pressing Alt-Home
A -get-result-size option would help here (there is already a -get-result-count )