Adding time Constants

Have a suggestion for "Everything"? Please post it here.
Post Reply
amma
Posts: 3
Joined: Thu Jun 16, 2011 6:40 pm

Adding time Constants

Post by amma »

Could you add time constants too same as with date constants so we can search files created/modified <last|past|prev|current|this|coming|next> min/hour...etc
This is very helpful in diagnosing OS problems from newly created files and clearing specific cache files from many programs.
Thanks
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Adding time Constants

Post by void »

I have implemented the option to search for files and folders in the last few minutes / hours for the next release of Everything.

The syntax for this will be:
<dm:|dc:><last|past|prev|coming|next><value><minutes|hours|days|weeks|months|years>

The specified value will be relative to now.

For example, files modified in the last 10 minutes from now:

Code: Select all

dm:last10minutes
amma
Posts: 3
Joined: Thu Jun 16, 2011 6:40 pm

Re: Adding time Constants

Post by amma »

Good to know you are working on this.
BTW, i noticed when you use the Functions dc,dm and attrib as search syntax alone without any search term the program freezes for couple of seconds and the CPU usage jumps to 100% !
The program freezes right after you type the colon.
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Adding time Constants

Post by void »

Everything does not index file dates. This information is gathered when needed.

Try limiting the search to a specific folder before searching for dates.
For example, only files in C:\somefolder modified today:

Code: Select all

c:\somefolder\ dm:today
daspud
Posts: 102
Joined: Wed Apr 01, 2009 3:15 am

Re: Adding time Constants

Post by daspud »

void wrote:I have implemented the option to search for files and folders in the last few minutes / hours for the next release of Everything....
Is there some slick way to do this or do you have to look at every file in the system to check the date stamp?
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Adding time Constants

Post by void »

This method has to gather date stamps for all files.

I am working on a new implementation of recent changes, which would make this a lot faster..
Post Reply