building a special filter finding items newer than 4 weeks?>

Discussion related to "Everything" 1.5 Alpha.
Post Reply
abr01
Posts: 89
Joined: Tue May 01, 2018 4:57 pm

building a special filter finding items newer than 4 weeks?>

Post by abr01 »

I would like to make a new filter, that finds RTF and TXT files, as well as other formats, that are newer than a specified time, for example 4 weeks. I can achieve that task using the extended search mask, but is it also possible to have a filter that works dynamically? If so, how can i integrate it into the filter? The 'new filter' dialog doesn't offer any dates and times, but maybe it is possible via Regex?
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: building a special filter finding items newer than 4 weeks?>

Post by void »

Please try the following search:

ext:rtf;txt;doc;docx;pdf dm:4weeks

add more extensions as needed.
or, please try the following search to match all document-type files:

doc: dm:4weeks



To add this search as a filter:
  • In Everything, from the Search menu, click Add to filters....
  • Change the Name to: Doc 4 weeks
  • Change the Search to: doc: dm:4weeks
  • 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.



ext:
dm:
Date Syntax
abr01
Posts: 89
Joined: Tue May 01, 2018 4:57 pm

Re: building a special filter finding items newer than 4 weeks?>

Post by abr01 »

That's fantastic! The first example you gave is better for my task, because otherwise i get too many file types. I also excluded all entries in C:\ and below, to avoid all that TEMP stuff. Works great, and i will make different types of "recent items" filters. Thanks a lot for this!
Post Reply