Command Line option

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Searcher007
Posts: 2
Joined: Sat Sep 05, 2020 3:09 am

Command Line option

Post by Searcher007 »

Hi,
Can the command line version return only files created or modified since yesterday? If so how please?
Thanks!!
void
Developer
Posts: 15338
Joined: Fri Oct 16, 2009 11:31 pm

Re: Command Line option

Post by void »

With the command line interface ES, please try searching for:
es.exe -dm -sort-dm dm:^>=yesterday

Note the ^ to escape the > (without the ^ the > would mean pipe to the specified file)
Use -dm to show the date modified column.
Use -sort-dm to sort by date modified (descending)

To specify a range, please try the following search:
es.exe -dm -sort-dm dm:2020-09-04..2020-09-05

These searches should be instant.

dm: = date modified
use dc: in-place of dm: to search for date created.
If you use dc: I recommend enabling index date created, otherwise a dc: search will be very slow:
  • In Everything, from the Tools menu, click Options.
    Click the Indexes tab on the left.
    Check Index date created.
    Click OK.
Searcher007
Posts: 2
Joined: Sat Sep 05, 2020 3:09 am

Re: Command Line option

Post by Searcher007 »

Thank you!

Awesome Work :)

Cheers
Dan
Post Reply