How to import a very large list of filenames from a text file for searching?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

How to import a very large list of filenames from a text file for searching?

Post by Debugger »

How to import a very large list of filenames from a text file for searching? Each name on a separate line.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to import a very large list of filenames from a text file for searching?

Post by void »

Everything matches the whole name from filenames in your file list.
If the filename contains a \ then the whole path and name is matched.



If you are trying to search millions of filenames, please try file list slots:

Include the following in your search:

filelist1:

Right click the filelist1: text in your search box and click Edit file list slot.
Click Import.
Select your large file list and click Open.
Click OK.



-or-



Include the following in your search:

include-file-list:"c:\my filelists\my filelist.efu"

Where "c:\my filelists\my filelist.efu" is a large file list.

include-file-list:



-or-



If your file list has 1000 or less filenames:
From the Search menu, click Advanced Search.
Scroll down to the bottom and look for Search for a list of filenames.
Click the ... button to the right.
Click Import.
Select your small file list and click Open.
Click OK.
Click OK.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: How to import a very large list of filenames from a text file for searching?

Post by Debugger »

I don't have any file with .efu extension, I saved my names in Windows Notepad and as doesn't find anything.
Most of the names (generally the whole name of the song) are in Chinese-English.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to import a very large list of filenames from a text file for searching?

Post by void »

All these methods support txt files (and CSV/EFU)

Change the Open as type to TXT Text Files (*.txt) when importing.
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: How to import a very large list of filenames from a text file for searching?

Post by Debugger »

Now it showed the list, I clicked OK. And I see only "0 items"
It did not find any names
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to import a very large list of filenames from a text file for searching?

Post by void »

Please make sure the filenames in your file list are whole filenames including the extension.
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to import a very large list of filenames from a text file for searching?

Post by therube »

It may relate to your editor (& what it might do or not do with your particular file name [encoding]).

Source, 12 items:

Code: Select all

1-1-4501 aka the NON date -  - BLOWS UP BRU.mp3
Anneke Van Giersbergen - Time After Time [norman lear version] [2012] [136kbits 48kHz] [conv-96kHz] [619 min] [868 kbps 96 kHz] [conv-192] [norm91] [619 min].flac
Anneke Van Giersbergen - Time After Time [La Scene Bastille] [2012] [136kbits 48kHz] [conv-96kHz] [619 min] [868 kbps 96 kHz] [conv-192] [norm-aimp-0db] [619 min] - Copy.flac
Aaron Neville & The Neville Brothers - Tell It Like It Is (The Big Easy) (1987) (256kbits) (0416min) (AID) (NORM).m4a
Beatles - Hard Day's Night.mp3
Beatles - Lovely Rita.mp3
Ημερολόγιο   ὁ Ύ ◌́ γ.m4a
Alexandre Tansman Symphony No. 7 (1944) Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg
Father #005 560822 Name.mp3
1234。5677.m4a
block.wav
block.wav
.

win32pad, ANSI, 11 items returned, Ημερολόγιο ὁ Ύ ◌́ γ.m4a not found (on my end):

Code: Select all

1-1-4501 aka the NON date -  - BLOWS UP BRU.mp3
Anneke Van Giersbergen - Time After Time [norman lear version] [2012] [136kbits 48kHz] [conv-96kHz] [619 min] [868 kbps 96 kHz] [conv-192] [norm91] [619 min].flac
Anneke Van Giersbergen - Time After Time [La Scene Bastille] [2012] [136kbits 48kHz] [conv-96kHz] [619 min] [868 kbps 96 kHz] [conv-192] [norm-aimp-0db] [619 min] - Copy.flac
Aaron Neville & The Neville Brothers - Tell It Like It Is (The Big Easy) (1987) (256kbits) (0416min) (AID) (NORM).m4a
Beatles - Hard Day's Night.mp3
Beatles - Lovely Rita.mp3
Alexandre Tansman Symphony No. 7 (1944) Oleg Caetani _ Melbourne Symphony Orchestra (152kbit_Opus).ogg
Father #005 560822 Name.mp3
1234。5677.m4a
block.wav
block.wav
.

win32pad, UNICODE, 12 items returned.
note that if you start with an ANSI file, & only "re-save" that as UNICODE, that will NOT be enough to "fix" things.
the data in the UNICODE file has to be "right" to begin with.

notepad, ANSI, same as win32pad ANSI.

notepad, UNICODE, UNICODE Big, UTF-8, same as win32pad UNICODE, all 12 items returned.


So... maybe "encoding" is playing in to your results (or lack thereof).
And of course the expected file names (or at least some of them) do exist on your system (on the drives that Everything is searching).
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: How to import a very large list of filenames from a text file for searching?

Post by Debugger »

In 10 years, I have yet to find a solution.
Suppose I have similar file names in multiple folders on my disk (e.g. similarity will be artist, title and remix artist")
I want to find from the first folder (worse bitrate) in other folders where there are better bitrates)
All they have in common is the title, artist and artist 2, and other characters may differ, other spaces, folders, other numbers, whatever.
I have tried all the best tools there are and it never works.
Even comparing one file can take, for example, manually copying the name and pasting 10-20 seconds, but what if I try to compare 60 files. It will take a long time each time and I lose precious time.

Always minimum one character in the file name disqualifies the similarity, so it never works.
Playing around with regex strings can be successful, but the fun will never end, as I will roll it from time to time the same copy paste/copy paste/write/paste/copy and again and again and again. I'm sick of it!
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to import a very large list of filenames from a text file for searching?

Post by therube »

Not really following?
Can you provide some specific file names, what search your using (& suppose, some Properties ?, & are you indexing same ?), &... ?
Debugger
Posts: 630
Joined: Thu Jan 26, 2017 11:56 am

Re: How to import a very large list of filenames from a text file for searching?

Post by Debugger »

therube wrote: Thu Aug 01, 2024 6:53 pm Not really following?
Can you provide some specific file names, what search your using (& suppose, some Properties ?, & are you indexing same ?), &... ?
I can paste multiple names at the same time in Everything, I can see that it shows the separator <<>|<>|<>> but it only works for full matching of the whole name, but not partial matching e.g. song title and artist.
Post Reply