Hello!
I am trying to find a way to search then export via command line.
Here is my command line I am using now to search
C:\Program Files\Everything\Everything.exe -s "search term|search term2"
I then have to click file -- export
I would like to do that search and specify where it gets saved all within the command line without clicking anything.
Thanks!
LJ
Search .. then Export to txt via Command Line
Re: Search .. then Export to txt via Command Line
Yes.. I saw that and I don't really get it. I tried and it did not work for me.
therube wrote:Perhaps, How to export search result by command line automatically?
Re: Search .. then Export to txt via Command Line
What means "did not work for me" ?DJ.LJ wrote:Yes.. I saw that and I don't really get it. I tried and it did not work for me.
therube wrote:Perhaps, How to export search result by command line automatically?
What are you doing (step by step) and what are the errors ?
Re: Search .. then Export to txt via Command Line
I guess what I am saying is... I don't know how to do it.
Could you give me an example using the command line that I am currently using? Using multiple search terms?
Thank you.
Could you give me an example using the command line that I am currently using? Using multiple search terms?
Thank you.
Re: Search .. then Export to txt via Command Line
Ok.. I figured out the basic command.
es.exe -s "bottoms up" > test.txt
This will search one term "bottoms up"
How would I search multiple terms at once? like...
bottoms up
no scrubs
cat daddy
In the full app I just put a | in between each term.
Also.. How do I limit to only search certain drives and filetypes? Maybe using filters like I do now? How would I call that using es.exe?
Are these the only commands available?
thank you!
es.exe -s "bottoms up" > test.txt
This will search one term "bottoms up"
How would I search multiple terms at once? like...
bottoms up
no scrubs
cat daddy
In the full app I just put a | in between each term.
Also.. How do I limit to only search certain drives and filetypes? Maybe using filters like I do now? How would I call that using es.exe?
Are these the only commands available?
Code: Select all
-r Search the database using a basic POSIX regular expression.
-i Does a case sensitive search.
-w Does a whole word search.
-p Does a full path search.
-h --help Display this help.
-n <num> Limit the amount of results shown to <num>.
-s Sort by full path.
Re: Search .. then Export to txt via Command Line
Ok.. figured out the search only certain drives. You just select them in the main app.
Re: Search .. then Export to txt via Command Line
I did it!
es.exe -r (bottoms.up.*mp(3^|4)^|no.scrubs.*mp(3^|4)^|cat.daddy.*mp(3^|4)) > test.txt
Hopefully this helps someone else out.
-r .. just use regex and tie it all together.
es.exe -r (bottoms.up.*mp(3^|4)^|no.scrubs.*mp(3^|4)^|cat.daddy.*mp(3^|4)) > test.txt
Hopefully this helps someone else out.
-r .. just use regex and tie it all together.
Re: Search .. then Export to txt via Command Line
> certain drives
es.exe c: bottoms up
> filetypes
es.exe c: bottoms up ext:zip;rar
> multiple terms
Oh, not sure about that?
Though if nothing else you could run two separate command; either on one line or two.
es.exe c: bottoms up
es.exe c: no scrubs
or
es.exe c: bottoms up && es.exe c: no scrubs
If you didn't want to search for "twin cheeks", you could search for one cheek, duplicated .
es.exe cheek dupe:
(I see you've got it.
Surprised that (Windows) CMD doesn't fart with the command line causing unwanted interactions.
)
es.exe c: bottoms up
> filetypes
es.exe c: bottoms up ext:zip;rar
> multiple terms
Oh, not sure about that?
Though if nothing else you could run two separate command; either on one line or two.
es.exe c: bottoms up
es.exe c: no scrubs
or
es.exe c: bottoms up && es.exe c: no scrubs
If you didn't want to search for "twin cheeks", you could search for one cheek, duplicated .
es.exe cheek dupe:
(I see you've got it.
Surprised that (Windows) CMD doesn't fart with the command line causing unwanted interactions.
)