"Size format" value and searching by file size

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

"Size format" value and searching by file size

Post by burgundy »

"Size format" in View Options can be KB or Bytes.

Is this value used when no entry is made in the "size" search parameter when searching?

For example
size:>8000
I have got "size format" set to KB, but when I use the "size" search parameter I have to enter KB or it will use Bytes.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: "Size format" value and searching by file size

Post by NotNull »

Th KB/MB/.. in the result list or the status bar is 'just' the presentation and is independent of your search query.
You still have to specify size:>8KB


Note that in Everything 1.5 you can specify what standard to use for sizes (see link), as 1KB can be 1024 bytes or 1000 bytes, depending on which standard is used.

That does have influence on your searches, so size:8KB is either size:8000 or size:8192
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: "Size format" value and searching by file size

Post by burgundy »

In the interests of less keying, I would like to suggest a parameter similar to the "Size Format" option for displayed results is provided to set the default unit in the search bar.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Size format" value and searching by file size

Post by void »

I will look into a ini setting to specify the size unit when one is not supplied.

Thank you for the suggestion.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: "Size format" value and searching by file size

Post by void »

Everything 1.5.0.1259a adds support to set the default search size unit.

To change the default search size unit:
  • In Everything, type in the following search and press ENTER:
    /search_size_unit=1
  • If successful, you should see search_size_unit=1 in the status bar for a few seconds.
    where 1 can be one of the following:
    • 0 = Bytes (default)
    • 1 = KB
    • 2 = MB
    • 3 = GB
Post Reply