on this day / placeholder in date

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
hcm
Posts: 11
Joined: Tue Dec 13, 2022 8:13 pm

on this day / placeholder in date

Post by hcm »

I recreated the OneDrive "on this day" feature, my search query for this is:

ext:JPG dm:14.12.2001|dm:14.12.2002|dm:14.12.2003|dm:14.12.2004|dm:14.12.2005|dm:14.12.2006|...|dm:14.12.2022

It would be nice to be able to use a placeholder 20** instead of the alternatives, but apparently this is not possible?
void
Developer
Posts: 16682
Joined: Fri Oct 16, 2009 11:31 pm

Re: on this day / placeholder in date

Post by void »

For Everything 1.4, you'll need to use the long OR list.



Everything 1.5 will have a wildcards: and tostring: modifier, for example:
wildcards:tostring:dm:14.12.20*

I'll add support for dm:14.12.20* in the next alpha update.

Thank you for the suggestion.


The OR list will give the best performance.
hcm
Posts: 11
Joined: Tue Dec 13, 2022 8:13 pm

Re: on this day / placeholder in date

Post by hcm »

Thank you for the answer. I'm looking forward to the update!
void
Developer
Posts: 16682
Joined: Fri Oct 16, 2009 11:31 pm

Re: on this day / placeholder in date

Post by void »

Everything 1.5.0.1332a adds support for dm:14.12.20*

Using a wildcard (* or ?) will convert the Date Modified to a string for comparison.

* = match any character any number of times.
? = match a single character.

Please be aware that converting Date Modified to a string is extremely slow.
hcm
Posts: 11
Joined: Tue Dec 13, 2022 8:13 pm

Re: on this day / placeholder in date

Post by hcm »

Works perfectly, thank you for the quick implementation!
Post Reply