Omit files with size of 0 byte

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Michi
Posts: 69
Joined: Thu Jul 28, 2022 9:23 am

Omit files with size of 0 byte

Post by Michi »

Hi!

I can exclude files of zero bytes from being indexed. However, I don't want them to be excluded from the index permanently.

OTH, I would like to exclude those zero length files from any search result, without adding an appropriate expression to each search command. So I thought about using result omissions that I could activate temporarily.

It seems to me that this function does only use standard file filters like omitting e.g. c:\windows.
Does the omit function understand regular expressions or some of those built-in function from the search bar?
void
Developer
Posts: 16897
Joined: Fri Oct 16, 2009 11:31 pm

Re: Omit files with size of 0 byte

Post by void »

Omit Results only works on filenames and supports regex.

To temporarily exclude files with a size of 0:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: Omit 0 size
  • Change the Search to: size:
  • Click OK.
Filters can be activated from the Search menu, Filter bar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
Michi
Posts: 69
Joined: Thu Jul 28, 2022 9:23 am

Re: Omit files with size of 0 byte

Post by Michi »

Thanks! That's one solution that came into my mind before.

I dropped the idea, because activating a filter does deactivate my default filter e.g. "Documents".
Or with other words: If I would like to find documents and still hide files with zero bytes, I've to define a new filter that combines both.

Basically I do not want to loose the filter bar with entries like "Document", "Pictures", "Executables" and more but have the freedom to additionally hide zero byte files from the result list. The later should be an additionally switch applied to the already active filter.
Post Reply