Get plain text from HTTP server

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
PabloG
Posts: 1
Joined: Thu Feb 13, 2020 1:05 pm

Get plain text from HTTP server

Post by PabloG » Thu Feb 13, 2020 1:19 pm

Hi, I'm trying to get plain text from HTTP server but I cannot find an option to do this.
My use case for this is to generate a listfile to be used as input for 7zip. I know I can use ES.EXE but I need the advanced filters, eg:

Code: Select all

wget http://localhost:8010?s="q*.jpg dm:gt:2010"^&json=1^&path_column=1 -O lst
and this filters aren't supported in ES.EXE as far I can tell. I could reprocess the json in Python but the output can be millions of pathnames so I would prefer to get the plain listfile if possible.
Until now I've been using hddb https://www.majorgeeks.com/files/details/hddb.html to do this but it seems to have problems with some unicode characters generating the listfile

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

Re: Get plain text from HTTP server

Post by void » Sun Feb 16, 2020 2:32 am

Please try escaping the white space with double quotes:

wget "http://localhost:8010?s=q*.jpg dm:gt:2010&json=1&path_column=1" -O lst


& does not need to be escape when in quotes.

ES supports all the search functions in Everything.
For example:


es q*.jpg dm:>2010 -path-column


ES does not support macros (eg: zip: or audio: etc..).

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

Re: Get plain text from HTTP server

Post by NotNull » Sun Feb 16, 2020 4:53 pm

void wrote:
Sun Feb 16, 2020 2:32 am

Code: Select all

es q*.jpg dm:>2010 -path-column
You need to prevent the ">" to be seen as a redirection by escaping this ">"

CMD:

Code: Select all

es q*.jpg dm:^>2010 -path-column

Powershell:

Code: Select all

es q*.jpg dm:`>2010 -path-column

Post Reply