Size criteria for subfolder search?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
terrypin
Posts: 144
Joined: Mon Mar 18, 2013 2:41 pm

Size criteria for subfolder search?

Post by terrypin » Wed Mar 11, 2020 5:29 pm

How would I display all files (not folders) which have a size greater than 1 GB located in D:\DVD archives and its subfolders please ?

Terry, East Grinstead, UK

ovg
Posts: 180
Joined: Thu Oct 27, 2016 7:19 pm

Re: Size criteria for subfolder search?

Post by ovg » Wed Mar 11, 2020 5:44 pm

D:\DVD file: size:>1Gb

Why not RTFM?
Last edited by ovg on Thu Mar 12, 2020 3:09 am, edited 1 time in total.

terrypin
Posts: 144
Joined: Mon Mar 18, 2013 2:41 pm

Re: Size criteria for subfolder search?

Post by terrypin » Wed Mar 11, 2020 8:00 pm

Thanks but I got no result with:
D:\DVD Archives: size:>1Gb

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Size criteria for subfolder search?

Post by NotNull » Wed Mar 11, 2020 8:53 pm

terrypin wrote:
Wed Mar 11, 2020 8:00 pm
Thanks but I got no result with:
D:\DVD Archives: size:>1Gb
That is because it is not what @ovg suggested. Have you tried
D:\DVD files: size:>1Gb
?

Another way (as the foldername contains a space, you need to enclose it in ""
file: "D:\DVD Archives" size:>1Gb



Take a look at the Search Help Page for details and a *lot* more useful ways to find what you are searching for.
Using the Advanced Search can help you in searching too ( Menu:Search > Advanced Search ).

horst.epp
Posts: 222
Joined: Fri Apr 04, 2014 3:24 pm

Re: Size criteria for subfolder search?

Post by horst.epp » Wed Mar 11, 2020 8:57 pm

terrypin wrote:
Wed Mar 11, 2020 8:00 pm
Thanks but I got no result with:
D:\DVD Archives: size:>1Gb
You can't use the filter Archives: in this place !
But you can set the active filter filter to Archive:
and then
D:\DVD size:>1Gb

terrypin
Posts: 144
Joined: Mon Mar 18, 2013 2:41 pm

Re: Size criteria for subfolder search?

Post by terrypin » Thu Mar 12, 2020 11:32 am

Turns out that
D:\DVD Archives size:>1Gb
does work after all.

But the hundred or so files (VOBs) had a size shown as 1,048,574 KB. Which is below the
strictly defined size of 1 GB, namely 1,048,576 KB!

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Size criteria for subfolder search?

Post by NotNull » Thu Mar 12, 2020 11:53 am

terrypin wrote:
Thu Mar 12, 2020 11:32 am
Turns out that
D:\DVD Archives size:>1Gb
does work after all.
Your original query contained an extra ":" and that made a world of difference.

terrypin wrote:
Thu Mar 12, 2020 11:32 am
But the hundred or so files (VOBs) had a size shown as 1,048,574 KB. Which is below the
strictly defined size of 1 GB, namely 1,048,576 KB!
Strictly speaking, 1 GB = 1 000 000 KB.
You are referring to GiB or gibibytes

terrypin
Posts: 144
Joined: Mon Mar 18, 2013 2:41 pm

Re: Size criteria for subfolder search?

Post by terrypin » Thu Mar 12, 2020 12:50 pm

Your original query contained an extra ":" and that made a world of difference.
No, my original query was:
"How would I display all files (not folders) which have a size greater than 1 GB located in D:\DVD archives and its subfolders please ?"
The first reply suggested D:\DVD file: size:>1Gb, which admittedly confused me by losing part of my specification.
Strictly speaking, 1 GB = 1 000 000 KB.
You are referring to GiB or gibibytes
No I'm not, although I'm well aware of the ambiguity. But I'm obviously using the term GB in the current context of a discussion about Everything. It treats the abbreviations '1Gb' or '1GB' as meaning 1,048,576 KB. Which is why I got the unexpected zero hits. Another search tool I use, AgentRansack gave the same result using '>1 GB' as the filter. I'm guessing most software does, even though it's not intuitive.

therube
Posts: 2461
Joined: Thu Sep 03, 2009 6:48 pm

Re: Size criteria for subfolder search?

Post by therube » Thu Mar 12, 2020 3:41 pm

Appears that Everything is treating "GB" as "GiB", so 1073741824 bytes.
So in Everything, > 1gb means > 1073741824 bytes.
Likewise, 1073741824 does not qualify (does not match the >), it has to be 1073741825 bytes, minimum.

chsize32.zip will very quickly (instantly) create randomly sized files.

Code: Select all

chsize32.exe  GB1  1073741824
chsize32.exe  GB2  1073741825

NotNull
Posts: 1875
Joined: Wed May 24, 2017 9:22 pm

Re: Size criteria for subfolder search?

Post by NotNull » Thu Mar 12, 2020 4:34 pm

Quick tip: You can also use fsutil.exe for that. It is included with recent Windows versions (don't know about XP):

Code: Select all

fsutil.exe file createnew dummy.deleteme 123456

terrypin
Posts: 144
Joined: Mon Mar 18, 2013 2:41 pm

Re: Size criteria for subfolder search?

Post by terrypin » Thu Mar 12, 2020 8:26 pm

I tried both neat tools, thanks.

fsutil works fine from Win 10's Run box. Interestingly Tree Size displayed the result of
fsutil.exe file createnew 1GB.deleteme 1073741825
as '1GB.deleteme 1.0 GB '.

EDIT a few mins later: And the same for 1073741824

therube
Posts: 2461
Joined: Thu Sep 03, 2009 6:48 pm

Re: Size criteria for subfolder search?

Post by therube » Thu Mar 12, 2020 8:41 pm

(Sure, fsutil works on XP.)

Post Reply