Search for Folders with Size Parameters
Moderators: white, Hacker, petermad, Stefan2
-
- Junior Member
- Posts: 61
- Joined: 2018-03-28, 20:13 UTC
Search for Folders with Size Parameters
I am sure I am circling this in the documentation, but I can't find it. Probably staring straight at it.
I would like to scour my hard drive for (sub)directories that are smaller than a certain size, and/or contain only one or two files.
I've been playing with the tc plugin, but I don't think that's it.
Advice always appreciated.
Thanks!
I would like to scour my hard drive for (sub)directories that are smaller than a certain size, and/or contain only one or two files.
I've been playing with the tc plugin, but I don't think that's it.
Advice always appreciated.
Thanks!
Dan: You're gonna need to get someone to fix my computer.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Re: Search for Folders with Size Parameters
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
-
- Junior Member
- Posts: 61
- Joined: 2018-03-28, 20:13 UTC
Re: Search for Folders with Size Parameters
Cleverly named plugin! Will give it a try - thanks!
Dan: You're gonna need to get someone to fix my computer.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
-
- Junior Member
- Posts: 61
- Joined: 2018-03-28, 20:13 UTC
Re: Search for Folders with Size Parameters
Super cool. Thank you.
One more question. I have some directories that have a single subdirectory that has a single subdirectory that has a single file. So if I search for:
[d:\directory]
[d:\directory\subdirectory]
[d:\directory\subdirectory\subsub\]
[d:\directory\subdirectory\subsub\file.txt]
Is there a way to limit the results to just give me the lower-most level?
Thanks again!
One more question. I have some directories that have a single subdirectory that has a single subdirectory that has a single file. So if I search for:
I'm getting:disizecalc | File Count | <= | 1
[d:\directory]
[d:\directory\subdirectory]
[d:\directory\subdirectory\subsub\]
[d:\directory\subdirectory\subsub\file.txt]
Is there a way to limit the results to just give me the lower-most level?
Thanks again!
Dan: You're gonna need to get someone to fix my computer.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Re: Search for Folders with Size Parameters
Just guessing, maybe additional field:
Code: Select all
dirsizecalc | Contains Subdirectories | != | Yes
Re: Search for Folders with Size Parameters
Yes, when using "Everything" and TC with parameter: parents:<count>Alonzo Mosley wrote: ↑2018-09-14, 18:31 UTC Is there a way to limit the results to just give me the lower-most level?
---------------------------------------------------------------------------------------------------------------------------------
SEARCH directly IN "EVERYTHING": Enter the following in the input line...
Example
Code: Select all
"D:\Data\" parents:3 size:<100kb childfilecount:2
In this case I would recommend to check "Index file size" under "Tools"-"Options..."-"Indexes" in "Everything".
Explanations:
(Main link: https://www.voidtools.com/support/everything/searching/)
Code: Select all
"Path" Path in quotation marks, e.g. "D:\Data"
parents:<count> Search for files and folders with the specified folder depth
size:<size> Search for files with the specified size in bytes;
size[kb|mb|gb] http://www.voidtools.com/support/everything/searching/#size_syntax
tiny, small, medium,.. http://www.voidtools.com/support/everything/searching/#size_constants
childfilecount:<count> Search for folders that contain the specified number of files
childfoldercount:<count> Search for folders that contain the specified number of subfolders
SEARCH in TC:
In the search window (ALT+F7 or ALT+Shift+F7) of TC, set/enter the following:
- [√] 'Everything'
- Search for: ed:parents:3 size:<100kb childfilecount:2 (… example!)
- Search in subdirectories: "all (unlimited depth)" - leave unchanged!
---------------------------------------------------------------------------------------------------------------------------------
Windows 10 Pro (x64) Version 1803 (OS Build 17134.285)
TC 9.21a - 64 bit | Everything - Version 1.4.1.914 (x64)
-
- Junior Member
- Posts: 61
- Joined: 2018-03-28, 20:13 UTC
Re: Search for Folders with Size Parameters
OMG thanks. WIll def give that a try. And here I was convinced it would be totally intuitive and I'd feel like an idiot for not cracking that on my own!
Thank you
Thank you
Dan: You're gonna need to get someone to fix my computer.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Kim: What's wrong with it?
Dan: It's in several pieces on my floor.
Re: Search for Folders with Size Parameters
Then you could probably be interested in this topic before you set it up for the first time:
viewtopic.php?p=346372#p346372
Here is an explanation of the parameters ed: or ev: in Total Commander:
https://www.voidtools.com/forum/viewtopic.php?p=20711#p20711
Regards
Karl
TC 9.21a - 32 bit + 64 bit | Everything - Version 1.4.1.914 (x64) (portable)