Large file List find

General discussion related to "Everything".
Post Reply
jjcamilli
Posts: 5
Joined: Sun Jul 02, 2017 2:47 pm

Large file List find

Post by jjcamilli »

Forgive me if this has been asked before I could not find it. I have setup Everything to scan all the drives of interest. I have a list of 500 file names (all MP3s) I want to find and list their locations. How can I do this in Everything?

Joe
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Large file List find

Post by NotNull »

Without any special configuration, Everything should give you for every file: the filename, it's folder, extension, size and date modified. Each in it's own column.
To see which columns are "activated" in your case: right-click on the "Name" header right above the filenames. "Activate" columns if needed.

If the right columns are activated and you still don't see the foldernames:
- Enlarge the Everything window (by dragging the borders)
- You have file preview enabled. Press Alt-P to switch it on/off
- Resize the "Name" column (by dragging the column-name divider to the left)


BTW: a screenprint would be very helpful to diagnose what's going on...
jjcamilli
Posts: 5
Joined: Sun Jul 02, 2017 2:47 pm

Re: Large file List find

Post by jjcamilli »

There is no problem at the moment. I was asking a question how to use Everything to input a list of 500 filenames to find?

Joe
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Large file List find

Post by NotNull »

Sorry, then I completely misunderstood your question.
(And I still don't understand the question, so I better leave it to someone else to answer it)
jjcamilli
Posts: 5
Joined: Sun Jul 02, 2017 2:47 pm

Re: Large file List find

Post by jjcamilli »

If I gave you a list of 500 files names to find on your computer how would you do it?

Joe
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Large file List find

Post by NotNull »

Ah! Now I got it! (finally :-) )

Assuming you have a MyMP3.txt with contents like:
My favourite song.mp3
Another song.mp3
(and 498 more songs)

Then:
- In Everything: List all MP3's found on your system (search for ext:mp3)
- Export this list as ALLMP3.txt to the same folder where MyMP3.txt is (Menu:File > Export; Save as type: txt)

- Start CMD.exe and go to this folder
- Enter command:

Code: Select all

for /f "delims=" %X in (MyMP3.txt) do findstr /i /c:"%X" ALLMP3.txt>> FoundMP3.txt

In FoundMP3.txt are the locations where your 500 MP3 files were found on your disk(s)
Filenames are random; you could choose your own.
If you want to run the command a second time: move, rename or delete FoundMP3.txt; otherwise the new results will be added to the end of the existing list.


If it was a short list of files (say 3), you could also search for "My favourite song.mp3" | "Another song.mp3" | "A third song.mp3" in Everything. But with 500 songs ..


EDIT:
If you also want to list the files that could NOT be found on your disks, change the command to:

Code: Select all

for /f "delims=" %X in (MyMP3.txt) do @(findstr /i /c:"%X" ALLMP3.txt>> FoundMP3.txt || @echo %X>>NOTFOUND.TXT)
The missing files are in NOTFOUND.TXT
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Large file List find

Post by Stamimail »

NotNull wrote:If it was a short list of files (say 3), you could also search for "My favourite song.mp3" | "Another song.mp3" | "A third song.mp3" in Everything. But with 500 songs ..
I tested this way and it works ok.
I pasted the 500 filenames list in MS WORD.
Ctrl+H
Find: ^p (=paragraph sign)
Replace: "|"

fix the string as needed.

paste it in Everything Search.
Solved!
Stamimail
Posts: 1122
Joined: Sat Aug 31, 2013 9:05 pm

Re: Large file List find

Post by Stamimail »

Another way should be
Menu > Search > Advanced Search
Scroll down to:
Search for a list of files:
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Large file List find

Post by NotNull »

Stamimail wrote:Another way should be
Menu > Search > Advanced Search
Scroll down to:
Search for a list of files:
Thanks for that! (didn't know). That must be the best soluton for the original question.
If it was a short list of files (say 3), you could also search for "My favourite song.mp3" | "Another song.mp3" | "A third song.mp3" in Everything. But with 500 songs ..

I tested this way and it works ok.
I thought it would run into limitations (length of query), but apparently not. Good to know ...
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Large file List find

Post by void »

While there is no limit on the length of the search string, the search edit will stop displaying any text when the length is longer than 8000 characters, while the text is not displayed correctly, the search edit will continue to function normally.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Large file List find

Post by NotNull »

void wrote:While there is no limit on the length of the search string
This little program keeps amazing me. Thanks for the info! (and the program :-) )
jjcamilli
Posts: 5
Joined: Sun Jul 02, 2017 2:47 pm

Re: Large file List find

Post by jjcamilli »

What is the correct syntax for the search string? Is it open quote text close quote vertical bar(pipe)?
jjcamilli
Posts: 5
Joined: Sun Jul 02, 2017 2:47 pm

Re: Large file List find

Post by jjcamilli »

I got it working my mistake was having the pipe symbol as the last character.

THANKS to everyone for your input

Joe
Post Reply