ES 1.1 Command Line Tool for Everything 1.4.1

General discussion related to "Everything".
void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1.0.1 Alpha Command Line Tool for Everything 1.4.1

Post by void » Mon Jan 29, 2018 12:28 am

Thanks for your post.
Test 1. ES command line
es.exe -export-efu C:\es_test.efu C:\
Result: ~35 seconds 90MB output file
Results are from the Everything index.
This is slowest method, because:
1) All file information is gathered
2) WM_COPYDATA used for IPC is slow.
Test 2. Everything.exe command line
Everything.exe -create-file-list C:\ev_test.efu C:\
Results are scanned from disk. Not the Everything index.
Permissions may limit some files from scanning.
Reparse points are followed, whereas ES does not.
All file information is gathered.
Test 3: Everything GUI menu
Everything GUI: first search C:\ and then go to menu > file > export
Results are from the Everything index.
Only indexed file information or cached file information is exported.

I've modified ES 1.0.0.9 to be consistent with Everything.
That is ES -export-efu will now only export information that is indexed.
You can use -size, -date-modified, -date-created and/or -attributes to override this behavior.

ES 1.0.0.9

Changes:
  • fixed an issue with checking if the database is loaded.
  • exporting as efu only exports indexed information now, use -size, -date-modified, -date-created or -attributes to override.
  • folder size is also exported now.

void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1.0.10 Command Line Tool for Everything 1.4.1

Post by void » Wed Jun 27, 2018 1:57 am

ES-1.1.0.10.zip
  • -r and -regex now take a parameter.
  • Everything now handles regex escape sequences.

ovg
Posts: 228
Joined: Thu Oct 27, 2016 7:19 pm

Re: ES 1.1.0.10 Command Line Tool for Everything 1.4.1

Post by ovg » Wed Jun 27, 2018 3:06 am

Link leads to 404 Error ...

void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1.0.10 Command Line Tool for Everything 1.4.1

Post by void » Wed Jun 27, 2018 6:15 am

Fixed link.

ovg
Posts: 228
Joined: Thu Oct 27, 2016 7:19 pm

Re: ES 1.1.0.10 Command Line Tool for Everything 1.4.1

Post by ovg » Wed Jun 27, 2018 7:15 pm

Thanks!

void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1.0.10 Command Line Tool for Everything 1.4.1

Post by void » Fri Jun 21, 2019 6:12 am

ES-1.1.0.12.zip

void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by void » Wed Jan 22, 2020 12:25 am

ES-1.1.0.13
  • added -cd -removed -cd -added -ipc1 -ipc2 -output errors to std_error
ES-1.1.0.14
  • updated help (thanks to NotNull) and fixed -? -h -help errors
ES-1.1.0.15
  • updated help (thanks to NotNull)
ES-1.1.0.16
  • added -no-header, added -double-quote, added -version, added -get-everything-version
ES-1.1.0.17
  • added -no-result-error
ES-1.1.0.18.zip
  • Added -get-total-size command line option to return the total file size of all results.


cmartx
Posts: 1
Joined: Sat May 09, 2020 12:36 pm

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by cmartx » Sat May 09, 2020 12:44 pm

Hi, Greetings from Sydney. I'm a casual user of everything (including the new 1.4.1 version) and I've recently gone to the command line to look for specific searches to capture output from. I've looked a the documentation fairly closely and I can't see any way of searching for files modified on a certain date or younger than a certain date. I can do it in the GUI (i.e. dm:1/5/2020 ) but is there a way to do it from the command line? All the best.

void
Site Admin
Posts: 5799
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by void » Sat May 09, 2020 12:53 pm

es uses the same syntax as Everything.
Just remember to escape < > ^ and | with ^

For example, find files modified on the 1/5/2020, search for:
ES.exe dm:1/5/2020

For example, find files modified after 1/5/2020, search for:
ES.exe dm:^>1/5/2020

For example, find files modified between 1/5/2020 and 8/5/2020, search for:
ES.exe dm:1/5/2020..8/5/2020

Include -dm to show the date modified in your ES results.
Include -sort dm to sort your results by date modified.

nspp
Posts: 4
Joined: Tue Oct 27, 2020 8:57 am

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by nspp » Wed Nov 04, 2020 12:58 pm

I have made a try with version 1.1.0.19 ant it seams that single [ctrl]+C signal is not effective and does not stop the process immediately. Could it be possible to not list all folder if no parameter are provided.

NotNull
Posts: 2385
Joined: Wed May 24, 2017 9:22 pm

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by NotNull » Wed Nov 04, 2020 3:05 pm

nspp wrote:
Wed Nov 04, 2020 12:58 pm
Could it be possible to not list all folder if no parameter are provided.
Yes. You can specify what ES should do if there are no parameters.
Those settings will be stored in ES.ini, in the folder where your ES.exe is.

Option 1: Do nothing

Code: Select all

ES.exe  -hide-empty-search-results -save-settings

Option 1: Show Help text

Code: Select all

ES.exe -empty-search-help -save-settings

(Not very relevant - and not a recommended solution - but I configured it as ES.exe -n 10 -save-settings , so that I also have a quick check to see if Everything is running/ reachable. )

NotNull
Posts: 2385
Joined: Wed May 24, 2017 9:22 pm

Re: ES 1.1 Command Line Tool for Everything 1.4.1

Post by NotNull » Thu Nov 05, 2020 12:14 am

From the opening post:
Saving and clearing settings

-save-settings

Save all switches to the registry under HKEY_CURRENT_USER\Software\ES

-clear-settings

Clear all saved settings in the registry under HKEY_CURRENT_USER\Software\ES

Is that still Everything 1.3 related? 1.4 saves it's settings in ES.ini

Post Reply