Recycle Bin shows different number of items with different methods

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Recycle Bin shows different number of items with different methods

Post by Thy Grand Voidinesss »

In my Everything [1.5.0.1372a x64 Portable] I have Filter with such settings

Code: Select all

Search:
:\$recycle.bin\ !$I <<search:> | displayname:<search:> | original-location:<search:>> columns:dm;date-deleted;extension;size;path;length;displayname;original-location;name;type

Macro:
bin<search>
and it [currently] reports to me

● items: 13 205
● files: 9 129
● folders: 4 0006


I also have two Bookmarks with its Search [Custom] set to

Code: Select all

:\$recycle.bin\ display-name:""
and

Code: Select all

:\$recycle.bin\ display-name:<>
and they both [currently] report to me

● items: 20 014
● files: 16 008
● folders: 4 006


And for comparison both Windows Explorer [Windows 10 Enterprise 20H2 x64 10.0.19042] and FreeCommander [XE 2023 Build 906 64-bit Donor Portable & Build 900 32-bit Public Installed] are reporting only

● items: 4 556
● files: ?
● folders: ?

Where are those large differences coming from?
therube
Posts: 4972
Joined: Thu Sep 03, 2009 6:48 pm

Re: Recycle Bin shows different number of items with different methods

Post by therube »

As a start, $recycle.bin takes all your volumes into consideration, where if you look at Windows Explorer, its' Properties will only show the volume you are looking at.

So in Everything, you might want something like,
$recycle.bin C:
.
Likewise, $recycle.bin would also find $recycle.bin.lnk (if such a file existed).
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Recycle Bin shows different number of items with different methods

Post by Thy Grand Voidinesss »

therube wrote: Mon May 13, 2024 2:58 pm As a start, $recycle.bin takes all your volumes into consideration, where if you look at Windows Explorer, its' Properties will only show the volume you are looking at.
This is true only if you navigate to a Recycle Bin folder like e.g.

C:\$RECYCLE.BIN

but false if you open the overall / system wide Recycle Bin folder through the Desktop. That is precisely why [to be sure of that] I had included also the results from FreeCommander [for comparison with Windows Explorer] after using its default feature that accesses the Recycle Bin [that I have been utilizing for years to recover deleted items from different volumes] - and now I have double checked that by switching in Windows Explorer to

View > Details

in order to [as expected] see paths from different volumes

therube wrote: Mon May 13, 2024 2:58 pm So in Everything, you might want something like,
$recycle.bin C:
.
[...]
I might some other time - and also rather this

Code: Select all

C:\$RECYCLE.BIN bin:
But right now the issue at hand is getting results from all Recycle Bins folders i.e. from the Recycle Bin and not from a one particular - or to be prices: knowing an answer to the question, is Everything ghost / over-reporting or are both my file managers under-reporting?
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Recycle Bin shows different number of items with different methods

Post by void »

Left over index files or data files.

They can be deleted after emptying the recycle bin.



Everything will show the files as they are on disk.

Other programs may show a virtualized view.
Virtualized views will only show one item for each $i and $r pair.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Recycle Bin shows different number of items with different methods

Post by Thy Grand Voidinesss »

But
4556 x 2 = 9112
and not 13205 nor 20014 items

And why is one [Filter] method in Everything reporting 13205 while other [Bookmarks] 20014 of them?
Post Reply