Folder size incorrectly shown as 0?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Folder size incorrectly shown as 0?

Post by dedupeit »

I'm using the following filter to find and delete empty folders.

Code: Select all

 folder: size:0
I was just about to delete a few more folders when I thought that there's no way those could be empty. I opened them in Explorer and there are definitely files in there. So what can cause Everything to think that the size is 0?
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folder size incorrectly shown as 0?

Post by void »

Zero size doesn't mean empty.

Files can have a size of 0.

To find empty folders in your index, include the following in your search:

empty:




To find empty folders in your index that are also empty on disk:

empty: child-count-from-disk:0




empty:
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Folder size incorrectly shown as 0?

Post by dedupeit »

Thanks for the clarification. I'll use those going forward.

Specifically for the issue I'm dealing with, these are folders with files that are not empty. If I right click the folder and select Properties, each show a number of files and a non zero size (as an example, one of the folders show 21 files and 10.5MB).
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Folder size incorrectly shown as 0?

Post by dedupeit »

Interestingly, these folders also show up when I use

Code: Select all

empty:
but do not show up when I use

Code: Select all

empty: child-count-from-disk:0
These are on a regular hard drive, not a removable drive or a network drive.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folder size incorrectly shown as 0?

Post by void »

Are you excluding any files/folders under Tools -> Options -> Exclude?
-If so, folders might be empty in your index, but not empty on disk.

Please try forcing a rebuild:
  • In Everything, from the Tools menu, click Options.
  • Click the Indexes tab on the left.
  • Click Force Rebuild.
  • Click OK.
dedupeit
Posts: 59
Joined: Thu Jul 28, 2022 9:52 pm

Re: Folder size incorrectly shown as 0?

Post by dedupeit »

I'm excluding system files and folders. But this is just a regular folder with images.

I'll do a rebuild. Luckily I don't think I deleted anything important or unrecoverable. Thanks void!
Post Reply