.efu filelist

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
frome
Posts: 12
Joined: Sat May 02, 2009 11:46 am

.efu filelist

Post by frome »

With a filelist.efu

Code: Select all

Filename,Size,Date Modified,Date Created,Attributes
"C:\xyz\xyz.txt",0,130863485630080891,130863485630080891,32
my Everything shows 3 objects in the listview

Code: Select all

C:
xyz
xyz.txt
I only want it to show xyz.txt . Is there a setting to get that result? I have disabled "match path". Using v 1.3.4.686 (x64). I know I can apply a file extension filter that will exclude folders however I also want to add some folders as separate objects in the filelist file and such a filter would exclude those folders too. What I want is that Everything display a list of all and only those exact paths that are listed in the .efu file.
void
Developer
Posts: 16690
Joined: Fri Oct 16, 2009 11:31 pm

Re: .efu filelist

Post by void »

Everything currently builds the path to the file list files back to the root file system, that's why you see the extra folders (C: and xyz).

The best solution I can think of is if you know the root folder of the file list, including it in your search would limit your results to just the files listed in the file list, eg:

Code: Select all

C:\xyz\
You could also try using the file: search function to filter only files.

I'll look into an option to index the files as you see in them in the filelist, that is C:\xyz\xyz.txt would be a single root file and the backslashes would be included in the files name.

I doubt you will find this useful, but in filelists it's currently possible to do things like:

Code: Select all

file://C:/xyz/xyz.txt
frome
Posts: 12
Joined: Sat May 02, 2009 11:46 am

Re: .efu filelist

Post by frome »

void wrote:The best solution I can think of is if you know the root folder of the file list, including it in your search would limit your results to just the files listed in the file list
Would work for uses where all files in .efu are from the same or a small number of folder paths. But in my use case they would be from multiple different folders so this method would become messy.
void wrote:I'll look into an option to index the files as you see in them in the filelist, that is C:\xyz\xyz.txt would be a single root file and the backslashes would be included in the files name.
I'd rather see an option to index only files whose exactly matching path is on a line in the .efu file .
So the listview would for my sample .efu file display only

Code: Select all

xyz.txt
And if we added one line to the .efu with a folder path e.g. "C:\this folder\subfolder\" then the listview would only show that as "subfolder\"
I doubt you will find this useful, but in filelists it's currently possible to do things like:

Code: Select all

file://C:/xyz/xyz.txt
Interesting, but is there a way to show folders in the list similarly? Tried adding a folder path with both file: and folder: prefix but it didns' show up.
frome
Posts: 12
Joined: Sat May 02, 2009 11:46 am

Re: .efu filelist

Post by frome »

Maybe what I'm asking for makes more sense if I describe the use case a bit more.

I want to make an .efu filelist with both paths to a bunch of files from different folders and paths to a number of folders. When the .efu is loaded I want to display only and all exact matches found in the filelist. Files displayed as pathless filenames (e.g. xyz.txt ) and folders displayed as pathless foldernames ( e.g. folder\ ) .

With that in place I would use another scripting tool to make a hotkey for interacting with the folders items in the result list. The user would select a folder there and press a special hotkey to trigger this sequence: 1 copy folder path (control+shift+C in Everything), 2 close filelist (custom hotkey can be made in Everything), 3 put folder path in search box (no native method as far as I know, but doable with other scripting tools).

The filelist would here function as a kind of starting point from which we can either execute one of the listed files or quickjump to a number of different folder searches.

By the way: a hotkeyable native "put path of selected object as search string" command would be quite useful both for this use case and more generally.
frome
Posts: 12
Joined: Sat May 02, 2009 11:46 am

Re: .efu filelist

Post by frome »

Mulling this over a bit more I discovered a pretty good workaround to get something like the use case described in the last post. Somebody else might want the same thing so here is a description of it.

We replace each folder in the .efu filelist with the path to a .lnk file that is set to execute everything.exe with parameters like these

Code: Select all

-local -filename "C:\this folder\subfolder\"
The -local parameter is there to exit the filelist mode. We name each .lnk file the same as the folder it will trigger a search in.

When we now display the filelist and apply a filter that excludes folders but includes .lnk files we get a list of pathless filenames including .lnk filenames. Now doubleclick/press enter on a .lnk file to jump into its folder search in the same Everything window.

Then only extra step needed for this is a script (batch, autoit, python, ...) that takes a list of folders and generates a suitable .lnk file for each but that is no big hurdle.
Post Reply