Differences in result-set between everything gui in comparison to es.exe

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
klim
Posts: 11
Joined: Sun Feb 17, 2013 8:09 pm

Differences in result-set between everything gui in comparison to es.exe

Post by klim » Tue Jan 11, 2022 1:08 pm

GUI search term: *.bak datemodified:"<lastmonth" X:|Z:|J:|Q: file:
CLI search term: es.exe -s X:^|Z:^|J:^|Q: /a-d -name "*.bak" datemodified:"<lastmonth" -path-column -sort path -export-txt result.txt

Both result-sets gives the same file amount of: 18141
But in the CLI resultset i do have a lot of empty lines.

Look at the following comparison. Sorry for anonymizing most of file names.
Left side is CLI result and right side is GUI resultset:

Image

therube
Posts: 3423
Joined: Thu Sep 03, 2009 6:48 pm

Re: Differences in result-set between everything gui in comparison to es.exe

Post by therube » Tue Jan 11, 2022 5:03 pm

With those lines that are blank, anything peculiar with those particular file names (compared to the rest of the file names)?

(Unlikely I'd think, but) might it be Notepad++ that is having trouble interpreting those particular lines?

As in, if you piped your command line to grep (or FIND), es... | FIND "A068984", are any results returned.?)

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

Re: Differences in result-set between everything gui in comparison to es.exe

Post by NotNull » Tue Jan 11, 2022 5:23 pm

Are those lines really empty or can you scroll to the left in the CLI results?

Anyway, this search should work:

Code: Select all

es.exe *.bak   dm:^<lastmonth   X:^|Z:^|J:^|Q:   file:

void
David Carpenter (Developer)
Posts: 9362
Joined: Fri Oct 16, 2009 11:31 pm

Re: Differences in result-set between everything gui in comparison to es.exe

Post by void » Wed Jan 12, 2022 12:42 am

Thank you for the bug report klim,

There's a bug preventing filenames longer than 260 bytes from exporting.
For ASCII text this was fine.
However, for long non-ASCII filenames, each character will use several bytes and will reach this 260 byte limit quickly.

This bug should be fixed in ES 1.1.0.22.

klim
Posts: 11
Joined: Sun Feb 17, 2013 8:09 pm

Re: Differences in result-set between everything gui in comparison to es.exe

Post by klim » Wed Jan 12, 2022 9:05 am

Thank you very much for fixing this issue that fast. Your problem description about too short data types for non-ascii chars makes sense.

Post Reply