File List Slots

Discussion related to "Everything" 1.5 Alpha.
Post Reply
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

File List Slots

Post by void »

What are file list slots

A file list slot is a list of filenames that can be reference by a macro.
There are 10 file lists slots available that can be reference with filelist0: to filelist9:

filelistx: used by itself will find all files in your index matching a filename in the file list slot.

File list slots are useful for managing large list of filenames that would not fit in the search box. (For example filename1.txt | filename2.txt | filename3.txt | ...)

The whole filename is matched. (no partial searches)
Wildcards are supported. (using multiple filenames with wildcards might reduce search performance)



What are the requirements for file list slots?

Filelist slots are available in Everything 1.5 or later.



How do I edit a file list slot?

File list slots are empty by default.

To edit a file list slot: hold down Ctrl and left-click the filelistx: text.
-or-
Press F2 while the search edit caret is on the filelistx: text.


While in the File List Slot Editor:
  • Drag drop files/folder onto the file list slot editor.
  • Click the Add.... button.
  • Load EFU file lists from the import button.
  • Paste multi-line text.
  • Select a filename and press F2 to rename the filename inline.


How do I set a file list slot to the current selection?

To set a file list slot to the current selection:
  • Press Ctrl + Shift + C to copy your filenames to the clipboard.
  • Change the search to filelist1:
  • Hold down Ctrl and left-click the filelist1: text.
    -or-
  • Press F2 while the search edit caret is on the filelist1: text.
  • Press Ctrl + V to paste the filenames from the clipboard.
  • Click OK.
To set a keyboard shortcut to save the current selection to a file list slot:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • To the right of Show commands containing, search for:
    slot
  • Select File | Set File List Slot x
    (where x is the slot number 0-9)
  • Click Add....
  • Press a new keyboard shortcut and click OK.
  • Click OK.


How long do file list slot last?

Until you close the Everything Search window.
Click the Export button in the file list slot editor to save your file list to disk.



Bind a keyboard shortcut to set a file list slot from the current selection

To bind a keyboard shortcut to set a file list slot from the current selection:
  • In Everything, from the Tools menu, click Options.
  • Click the Keyboard tab on the left.
  • To the right of Show commands containing, search for: slot
  • Select File | Set File List Slot 1
  • Click Add....
  • Press your keyboard shortcut and click OK.
  • Click OK.


Future plans

Named file list slots.
regex: modifier support.



Examples

!filelist0:
where filelist0: is an old EFU file list which might be useful to show new files.
! = NOT



Show parent folders from the current search results: (might be useful if you want to work on the parent folder instead of each file)
  • Set the search to find your desired files.
  • Select all the files (Ctrl + A)
  • From the File menu, click Copy Full Path to clipboard (Ctrl + Shift + C).
  • Change the search to:
  • childfilelist1:
  • Hold down Ctrl and click the childfilelist1: text.
  • Paste the filenames with Ctrl + V
  • Click OK.
    ---Everything will now list all the parent folders from the previous search---


Find duplicate files:
  • Set the search to find your desired files.
  • Select all the files (Ctrl + A)
  • From the File menu, click Copy Full Path to clipboard (Ctrl + Shift + C).
  • Change the search to:
  • sizefilelist1:
  • Hold down Ctrl and click the sizefilelist1: text.
  • Paste the filenames with Ctrl + V
  • Click OK.
    ---Everything will now list files with the same size as any file in your file list slot 1---
  • Use sizefilelist1: !filelist1: to hide the original files and show only the duplicated files.
  • Use the results as a guide only as the same size does not indicated the content is the same.
  • Use the SHA-256 column to compare content.


File List Slots
filelist0: - filelist9: match files/folders from the list.
child-filelist0: - child-filelist9: match folders containing a child file/folder from the list.
descendant-filelist0: - descendant-filelist9: match folders containing a descendant file/folder from the list.
size-filelist0: - size-filelist9: match files/folders with the same size as a file/folder from the list.
parent-filelist0: - parent-filelist9: match files/folders that are a child of a folder from the list.
ancestor-filelist0: - ancestor-filelist9: match files/folders that are a descendant of a folder from the list.
sibling-filelist0: - sibling-filelist9: match files/folders that are a sibling of a file/folder from the list.
name-filelist0: - name-filelist9: match files/folders with the same name from a file/folder from the list.
stem-filelist0: - stem-filelist9: match files/folders with the same stem from a file/folder from the list.
Paste into the parent folder of all results example
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

Everything 1.5.0.1280a adds support for wildcards in filelists.

Everything 1.5.0.1280a also adds support for opening the file list slot editor when pressing F2 while the caret is on the filelist1: text.
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: File List Slots

Post by raccoon »

Request: Make filelist4: and childfilelist4: use the same actual file list, making "child" a simple verb prefix that shares the same namespace.

This allows the user to casually add and remove the prefix "child" to filelist4: with the expected results.

Currently, they are discrete unrelated lists from one another.
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

Added to my TODO list.

Thank you for the suggestion.


I have on my TODO list to make child: a search modifier too, so something like:
child:filelist1: may work in a future build.
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

childfilelist1: and filelist1: will now share the same list in Everything 1.5.0.1282a.
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: File List Slots

Post by raccoon »

siblingfilelist0: ?

Displays results of all matching objects and their siblings from the same folder(s).
Example: vacation.jpg will show the file vacation.jpg in your Pictures folder, and all other files in your Pictures folder too.
Example: Movie.mp4 will show the file Movie.mp4 and any cover.jpg or subtitle files from the same folder.
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

I've put this on my TODO list.

Thanks for the suggestion!
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

Everything 1.5.0.1331a adds the following file list search functions:
void
Developer
Posts: 15994
Joined: Fri Oct 16, 2009 11:31 pm

Re: File List Slots

Post by void »

Everything 1.5.0.1361a adds the following file list search functions:
Post Reply