-create-file-list & -export-efu (what is each doing?)
-create-file-list & -export-efu (what is each doing?)
I have been using Everything for a few years and trying to use it in a new way.
Goal: Routinely update file lists so I can have the latest list of file names for when I am not at the office.
Everything - does "-create-file-list" actually scan the path or just use it as a search parameter to give results from the index?
ES - does "-export-efu" scan the path or just give index results?
A typical project location on my work drive is like this: P:\Projects\500\587\587.000
The '500' folder only contains folders 501-599. We call them base project numbers.
Each base project number then can have ###.000 through ###.999 as possible project subfolders.
Right now I am trying to create a file list of the 500 base ("P:\Projects\500\") and it is not including any subfolders.
Thank you,
russelly
Goal: Routinely update file lists so I can have the latest list of file names for when I am not at the office.
Everything - does "-create-file-list" actually scan the path or just use it as a search parameter to give results from the index?
ES - does "-export-efu" scan the path or just give index results?
A typical project location on my work drive is like this: P:\Projects\500\587\587.000
The '500' folder only contains folders 501-599. We call them base project numbers.
Each base project number then can have ###.000 through ###.999 as possible project subfolders.
Right now I am trying to create a file list of the 500 base ("P:\Projects\500\") and it is not including any subfolders.
Thank you,
russelly
Re: -create-file-list & -export-efu (what is each doing?)
Everything scans the path (using user credentials). Resultd do not come from the index.
Results come from the index (ES.exe "talks to" Everything.exe for results)
Not entirely sure what you want the results to be exactly, but my guess is you just want a list of the 500 ... 599 folders?
In that case. try the following:
Code: Select all
parent:"P:\Projects\500\"
Re: -create-file-list & -export-efu (what is each doing?)
Thank you for the clarification on Everything vs ES with how they work.
For the scenario where I have P:\Projects\500\, I want all subfolders and files. You would have to recurse down a couple more levels before you actually get to any files.
P:\Projects\500\ - just subfolders 500-599, no files.
P:\Projects\500\###\ - just subfolders ###.000-###.999, no files.
P:\Projects\500\###\###.### - usually another set of folders named "Accounting, Email, Workfiles, Xfers"
russelly
For the scenario where I have P:\Projects\500\, I want all subfolders and files. You would have to recurse down a couple more levels before you actually get to any files.
P:\Projects\500\ - just subfolders 500-599, no files.
P:\Projects\500\###\ - just subfolders ###.000-###.999, no files.
P:\Projects\500\###\###.### - usually another set of folders named "Accounting, Email, Workfiles, Xfers"
russelly
Re: -create-file-list & -export-efu (what is each doing?)
And searching for "P:\Projects\500\" does not return all subfolders and files?
Re: -create-file-list & -export-efu (what is each doing?)
When I enter: Everything.exe -create-file-list 500projects.efu "P:\Projects\500\"
I just get the 500 folder as the only result. Should it be giving more results?
I just get the 500 folder as the only result. Should it be giving more results?
Re: -create-file-list & -export-efu (what is each doing?)
It should be returning everything.
So you should be seeing:
P:\Projects\500\587\587.000\file1.txt
P:\Projects\500\587\587.000\file2.txt ...
If you added the parent:, mentioned above, that would restrict your results.
So you should be seeing:
P:\Projects\500\587\587.000\file1.txt
P:\Projects\500\587\587.000\file2.txt ...
If you added the parent:, mentioned above, that would restrict your results.
Re: -create-file-list & -export-efu (what is each doing?)
I agree that is what I was expecting as well. EVERYTHING!
I pinged our IS team to see if they had any input. They suggested I replace "P:" with "\\ntserver\Production\" and it worked. I have to enter the server path instead of a drive letter.
I pinged our IS team to see if they had any input. They suggested I replace "P:" with "\\ntserver\Production\" and it worked. I have to enter the server path instead of a drive letter.
Re: -create-file-list & -export-efu (what is each doing?)
Were you running the Everything.exe -create-file-list 500projects.efu "P:\Projects\500\" command under a different user account (different from you login account)? Did you see the User Account Control (UAC) prompt?
That can happen if you are running Everything as administrator. Recommended is to install the Everything Service instead.
The P:-drive mapping is user-bound.
That can happen if you are running Everything as administrator. Recommended is to install the Everything Service instead.
The P:-drive mapping is user-bound.
Re: -create-file-list & -export-efu (what is each doing?)
I WAS running it as administrator! This would explain things.
I never saw the UAC prompt. Is that at install or command line option?
I will check out the Everything Service.
I never saw the UAC prompt. Is that at install or command line option?
I will check out the Everything Service.
Re: -create-file-list & -export-efu (what is each doing?)
When running your command.
Another approach would be not to re-use the existing (running) Everything, but to use a separate instance.
Even when your regular Everything is running as (elevated) administrator, this should work, because it starts a new process under your login account:
the "500" in -instance 500 is text chosen a random and the instance only exist during the time this command is running.
Another approach would be not to re-use the existing (running) Everything, but to use a separate instance.
Even when your regular Everything is running as (elevated) administrator, this should work, because it starts a new process under your login account:
Code: Select all
" c:\path to\everything.exe" -instance 500 -create-file-list " c:\some folder\500projects.efu" "P:\Projects\500\"
Re: -create-file-list & -export-efu (what is each doing?)
Much appreciation for this advice. Didn't realize I could run a service parallel to the normal script service. Good knowledge! Thank you again!
russelly
russelly