Hello everybody
I’m using Everything 1.5.0.1423 and ES 1.1.0.38 x64. Everything’s search window finds results for this query:
U:\TB12_2\skalbum_finals\skalbum\thumbs\ | U:\ftumbs\ dupe:md5
ES returns results when I search either folder individually, but returns 0 for the combined query, even without dupe:md5. For example:
es.exe -timeout 10000 -get-result-count "U:\TB12_2\skalbum_finals\skalbum\thumbs"
returns 1868362, and:
es.exe -timeout 10000 -get-result-count "U:\ftumbs"
returns 1757855.
But:
es.exe -timeout 10000 -get-result-count "U:\TB12_2\skalbum_finals\skalbum\thumbs\ | U:\ftumbs"
returns 0. Adding dupe:md5 also returns 0. ES reports Everything version 1.5.0.1423 and exits with code 0.
Is there a required way to quote or group this OR expression for ES, or a known limitation with | in ES search arguments? I want to export the combined results to CSV using -export-csv.
Everything itself accepts the query
Regards
ES Export issue
-
void
- Developer
- Posts: 20455
- Joined: Fri Oct 16, 2009 11:31 pm
Re: ES Export issue
The quotes are treated literally.
Either use:
-search removes the quotes.
-or-
Either use:
Code: Select all
es.exe -timeout 10000 -get-result-count -search "U:\TB12_2\skalbum_finals\skalbum\thumbs\ | U:\ftumbs"
-or-
Code: Select all
es.exe -timeout 10000 -get-result-count "U:\TB12_2\skalbum_finals\skalbum\thumbs\" ^| "U:\ftumbs"
-
therube
- Posts: 5887
- Joined: Thu Sep 03, 2009 6:48 pm
Re: ES Export issue
For the dupe:md5 part, you'll need to use grouping.
(And, you'll also have to escape the < >.)
(As it was, in your original search, you were only searching for dupes within U:\ftumbs\.)
(Note that if you run ES.exe from within a batch file, things change again.
And I've just confused myself, so I'm not sure how, particularly.)
(And, you'll also have to escape the < >.)
ES.exe ^< U:\TB12_2\skalbum_finals\skalbum\thumbs\ ^| U:\ftumbs\ ^> dupe:md5(As it was, in your original search, you were only searching for dupes within U:\ftumbs\.)
(Note that if you run ES.exe from within a batch file, things change again.
And I've just confused myself, so I'm not sure how, particularly.)
-
sk2107
- Posts: 389
- Joined: Sun Aug 07, 2022 8:48 pm
Re: ES Export issue
Thank you, it is fine now
Best Regards
Best Regards