Advanced Search - List of files

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tuska
Posts: 1139
Joined: Thu Jul 13, 2017 9:14 am

Advanced Search - List of files

Post by tuska »

Hi,
please check this function.
Thanks!
 
2024-12-09_Advanced Search - List of files.png
2024-12-09_Advanced Search - List of files.png (46.76 KiB) Viewed 2633 times
 
void
Developer
Posts: 17301
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Search - List of files

Post by void »

Under Search -> Advanced -> Search for a list of filenames, Click Browse on the right, select your file list and click Open.

-or-

Search for:
includefilelist:"D:\TMP\List of files.txt"


include-filelist:



Looks like Everything is unintentionally removing the character after the space.
This will be fixed in the next update.
Thanks for bringing the issue to my attention.
void
Developer
Posts: 17301
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Search - List of files

Post by void »

Everything 1.5.0.1388a fixes an issue with spaces in the 'search for a list of filenames' field.
tuska
Posts: 1139
Joined: Thu Jul 13, 2017 9:14 am

Re: Advanced Search - List of files

Post by tuska »

2void
Thanks for the 1.5.0.1388a version! :)

I tested as follows:
Menu "Search" > Advanced Search... > Search for a list of file names: > Button '...' ("Open the List Editor.") > Import...
D:\TMP\List of files.txt ... click on "List of files.txt": The “Edit List” window is filled with the file names stored in the
“List of files.txt” > OK > Field "Search for a list of file names:" is being filled > OK >

The Everything 1.5 search box is filled as follows, for example:
filelist:D:\TMP\IMG-20230619-WA0008.jpg;D:\TMP\jpeg-bitmap.jpg;D:\TMP\mvimg-20180324-161541.jpg;D:\TMP\oivt.jpg;D:\TMP\thumb.jpg
and the files from the “List of files.txt” are displayed.

If you reopen the “Advanced Search” window, the files are displayed as follows in the “Search for a list of file names:” field:
D:\TMP\IMG-20230619-WA0008.jpg;D:\TMP\jpeg-bitmap.jpg;D:\TMP\mvimg-20180324-161541.jpg;D:\TMP\oivt.jpg;D:\TMP\thumb.jpg

Option - Edit file list:
Ctrl+click in “filelist:” opens the “Edit List” window.

Note:
When using Search for: includefilelist:“D:\TMP\List of files.txt”, the stored files are displayed IMMEDIATELY(!). :)
Unfortunately, this search function does not yet work with prefix ev: in Total Commander.
Advanced Search is not required in this case unless you want to narrow the search further.

Unclear:
Advanced Search > Search for a list of file names: > D:\TMP\List of files.txt
should, in my opinion, have the same function as includefilelist:
but brings up in the search box:
filelist:D:\TMP\List" "of" "files.txt

and in the search result... Name: List of files.txt, Path: D:\TMP
Here I would have expected the files that were saved in the “List of files.txt” file in the search result.

Please check.
void
Developer
Posts: 17301
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Search - List of files

Post by void »

Thank you for testing 1388a tuska,


When using Search for: includefilelist:“D:\TMP\List of files.txt”, the stored files are displayed IMMEDIATELY(!). :)
Unfortunately, this search function does not yet work with prefix ev: in Total Commander.
includefilelist: will only work from the main Everything search box.
It is not allowed from external calls.


Advanced Search > Search for a list of file names: > D:\TMP\List of files.txt
...
Here I would have expected the files that were saved in the “List of files.txt” file in the search result.
I will consider changing this to specify the filename like in includefilelist:
Thank you for the suggestion.
void
Developer
Posts: 17301
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Search - List of files

Post by void »

Everything 1.5.0.1391a will now use includefilelist:filename.efu instead of filelist:file1.txt;file2.txt;file3.txt;... when using the Advanced Search -> Search for a list of filenames.
tuska
Posts: 1139
Joined: Thu Jul 13, 2017 9:14 am

Re: Advanced Search - List of files

Post by tuska »

void wrote: Thu Jan 02, 2025 5:10 am Everything 1.5.0.1391a will now use includefilelist:filename.efu
instead of filelist:file1.txt;file2.txt;file3.txt;... when using the Advanced Search -> Search for a list of filenames.
Many thanks for your efforts!

Here are my test results.
  1. 'Everything' search box:
    includefilelist:D:\TEMP\List.txt


    List.txt
    a.txt
    b.txt
    c.txt

    Result: OK
     
  2. Advanced Search (at the bottom of the search window):
    Field: "Search for a list of file names:"
    D:\TEMP\List.txt


    Result: OK
    After that, the following is displayed in the search box:
    includefilelist:D:\TEMP\List.txt

     
  3. Advanced Search (at the bottom of the search window):
    Field: "Search for a list of file names:"
    "C:\Everything\Forum\Advanced Search - List of files\2025-01-03_Advanced Search - List of files.efu"

    ATTENTION: If the path or file name contains spaces, "" quotation marks must be used!

    2025-01-03_Advanced Search - List of files.efu:
    C:\Everything\Forum\Advanced Search - List of files\2024-12-09_Advanced Search - List of files - Original.png
    C:\Everything\Forum\Advanced Search - List of files\2024-12-09_Advanced Search - List of files and folders.png
    C:\Everything\Forum\Advanced Search - List of files\2024-12-09_Advanced Search - List of files.png

    Result: OK
    The 'Everything' search box then displays the following:

    Code: Select all

    includefilelist:"C:\Everything\Forum\Advanced Search - List of files\2025-01-03_Advanced Search - List of files.efu" 
____________________________________________________________
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2605) - 2024-12-10
'Everything' 1.5.0.1391a (x64) - "Portable on system drive C:"
include-file-list: | File Lists | file-list:
void
Developer
Posts: 17301
Joined: Fri Oct 16, 2009 11:31 pm

Re: Advanced Search - List of files

Post by void »

Thank you for testing 1391a tuska,

I will clean up the automatic double quoting.
For now, Everything will escape each space with double quotes.
Post Reply