Command Line - specifying folder to search

General discussion related to "Everything".
Post Reply
parisi
Posts: 9
Joined: Tue Sep 15, 2015 7:37 pm

Command Line - specifying folder to search

Post by parisi »

I want to use the command line to search in only one folder tree.

Code: Select all

S:\es>es "10701-36137.jpg" -n 1
S:\Data\Clients\Bob Smith\DataOne\Orange\Images\10701-36137.jpg
However specifying the folder as follows does not return any results...

Code: Select all

S:\es>es "S:\Data\Clients\Bob Smith 10701-36137.jpg" -n 1
Any advice would be greatly appreciated!

Thanks,
Paul.
therube
Posts: 4979
Joined: Thu Sep 03, 2009 6:48 pm

Re: Command Line - specifying folder to search

Post by therube »

As a start, if you're not going to want to use multiple terms, (path) + (filename), do not include the trailing slash in (path).

Then your second sample, do you have a typo in there, or just what are you looking to do?
Or do you actually have a path+file named: "S:\Data\Clients\Bob Smith 10701-36137.jpg" ?

Try:

Code: Select all

es  "S:\Data\Clients\Bob Smith\DataOne\Orange\Images"   "10701-36137.jpg"
Or if you have a directory path, "S:\Data\Clients\Bob Smith\", then:

Code: Select all

es  "S:\Data\Clients\Bob Smith"  "10701-36137.jpg"
parisi
Posts: 9
Joined: Tue Sep 15, 2015 7:37 pm

Re: Command Line - specifying folder to search

Post by parisi »

That worked perfectly.

Here is what I ended up using:

es "S:\Data\Clients\Bob Smith" "_mg_2575-0002.jpg" -n 1


I am finding only files under "S:\Data\Clients\Bob Smith"

Thanks you for your help, very much appreciated!
Paul.
Post Reply