Hi,
Can the command line version return only files created or modified since yesterday? If so how please?
Thanks!!
Command Line option
Re: Command Line option
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:
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.
-
- Posts: 2
- Joined: Sat Sep 05, 2020 3:09 am
Re: Command Line option
Thank you!
Awesome Work
Cheers
Dan
Awesome Work
Cheers
Dan