How to add Date Delete in place of Date Created for the Recycle Bin folder Filter?

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

How to add Date Delete in place of Date Created for the Recycle Bin folder Filter?

Post by Thy Grand Voidinesss »

So I have this Filter

Code: Select all

Search: :\$recycle.bin\ !$I <search: | displayname:search:> addcolumn:displayname columns:dm;dc;size;displayname;path;extension;type;name

Macro: bin<search>
which as 2 first Columns displays Date Modified and Date Created data. And now I would like to replace this second one with Date Deleted


So far by going to

Search > Organize Filters... > Edit > Sort > Other > Windows Property System > Date deleted
Search > Organize Filters... > Edit > Columns > Select > Add > Windows Property System > Date deleted


and then by choosing

Search > Organize Filters... > Edit > Sort > Date deleted > Descending

I was able to make the results appear sorted by this date in question, with the most recently deleted item at the very top of the list of items - which option I was also after

Unfortunately when using this Filter of mine and right-clicking any of the headers and choosing either Add Columns... or Organize Columns... did not in the end yield me a permanent Column of Date Deleted wihin this Filter - I was only able to add it temporarily, i.e. lasting for as long as I did not change to some other Filter


And so how can I replace Date Created with Date Deleted permanently in this Filter of mine, which I use for digging in Recycle Bin of Windows 10?
Last edited by Thy Grand Voidinesss on Tue Aug 30, 2022 12:38 pm, edited 1 time in total.
void
Developer
Posts: 16743
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to add Date Delete in place of Date Created for the Recycle Bin folder Filter?

Post by void »

Currently, columns added when you have a active column: search are lost when the search is cleared/changed.
I will consider keeping added columns after clearing or changing the search.

If you use Date deleted often, please consider adding it to your filter search:

Code: Select all

:\$recycle.bin\ !$I <search: | displayname:search:> columns:dm;property-system:system.recycle.datedeleted;size;displayname;path;extension;type;name;
To reference a Windows property system property, use:
property-system:<property-canonical-name>

For example:
property-system:system.recycle.datedeleted
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: How to add Date Delete in place of Date Created for the Recycle Bin folder Filter?

Post by Thy Grand Voidinesss »

void wrote: Tue Aug 30, 2022 11:09 am [...]

Code: Select all

:\$recycle.bin\ !$I <search: | displayname:search:> columns:dm;property-system:system.recycle.datedeleted;size;displayname;path;extension;type;name;
[...]
This seems to do the trick, thank you


Although I get a date and time 1899-12-31 01:00 for all those deleted items in Recycle Bin that already have been deleted also from Recycle Bin

Will those items get removed from everything when the space occupied by them on drives is overwritten? Does Everything keep track of deleted-deleted items alike to data recovery programs?
void
Developer
Posts: 16743
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to add Date Delete in place of Date Created for the Recycle Bin folder Filter?

Post by void »

The date-deleted is a little odd (uninitialized or the current time) for files in deleted folders.
eg: C:\$recycle.bin\A deleted folder\file.txt

The date-deleted seems fine for directly-deleted-files/folders
eg: C:\$recycle.bin\$rabc123.txt

Windows doesn't handle files in subfolders in the recycle bin to well.
For the best results, search for:
C:\$recycle.bin\* addcolumn:property-system:System.Recycle.DateDeleted



Everything doesn't treat the recycle bin as a virtual folder like Windows Explorer.
Everything treats these recycle bin files as normal files.
What you see in Everything is what is on disk.
Emptying the recycle bin or restoring the files should remove these files.

edit: looks like I have broken addcolumn:property-system:System.Recycle.DateDeleted in the latest update...
I will post a fix soon.
Post Reply