Any statistics after searchin the list of files? is that possible?
Any statistics after searchin the list of files? is that possible?
I often us the search "filelistfilename" and there could be 200 or 300 files in one search request
and some of them Everything finds, some of them Not... (cause they don't exist, for example, or I've done some misspelling)
anyway.... I've been thinking about some statistics would be great to get after searching this way...
for instance;
to do it available to see the list of results:
filename one: found 3 times
filename two: found 2 times
filename five: found 0 times
what do you think ??
and some of them Everything finds, some of them Not... (cause they don't exist, for example, or I've done some misspelling)
anyway.... I've been thinking about some statistics would be great to get after searching this way...
for instance;
to do it available to see the list of results:
filename one: found 3 times
filename two: found 2 times
filename five: found 0 times
what do you think ??
Re: Any statistics after searchin the list of files? is that possible?
Suppose you have 7 filelists and have a rather straightforward search like:
That would give you at least 2 (filename patterns) * 2 (extensions) * 2 (path patterns) * 2 (file or folder) * 7 (filelists) = 108 different statistics to report. What would you like to report in such a case?
If you are mostly interested in filelists, you can:
(BTW: you can drag the column headers to a different position to make the File List column more prominent)
Code: Select all
ever|thing ext:ini;exe path:<\test\|\temp\>
If you are mostly interested in filelists, you can:
- Add a column File List Filename to the resultlist
(right-click the Name header and select File List Filename) - Sort by File List Filename
(Menu:View > Sort by > File List Filename)
(BTW: you can drag the column headers to a different position to make the File List column more prominent)
Re: Any statistics after searchin the list of files? is that possible?
It seems like I expressed my idea not cleary
I meant that filelist of file is one!!
but there are many files in there
search request looks like this:
filelistfilename:<Manuel Costela - Always You>|<Ane Brun, Nudisorder - One Last Try>|<Monsoon Season feat. Miss Bee - Green On Blue>|<Eivind Jb, Mari Lu - Tropicalbahn>|<Muzzaik feat. Zaida - Work It (Dj Vartan & Techcrasher Remix)>|<Charles J - Riders On The Storm>|<Geom - Love Me Fool Me (Pete Bellis & Tommy Remix)>|<Geom - Love Me Fool Me (Pete Bellis & Tommy Remix)>|<Sherrie Sherrie, The Ware, Nina - Nana Song (Dj Antonio, Dj Renat Remix)>|<Jimmy Ruffin - What Becomes Of The Brokenhearted>|<Soul Trend - Groovy Nights>|<Charles J - Riders On The Storm>|<Yuksek & Bertrand Burgalat - Icare (Yuksek Remix)>|<The Messenger - Let It Be>
as you can see... those the names of music tracks
and when I'm looking for them in my collection, often I find just the part of the list
and I wonder, if I can get the info about the files that Everything haven't found.....
I meant that filelist of file is one!!
but there are many files in there
search request looks like this:
filelistfilename:<Manuel Costela - Always You>|<Ane Brun, Nudisorder - One Last Try>|<Monsoon Season feat. Miss Bee - Green On Blue>|<Eivind Jb, Mari Lu - Tropicalbahn>|<Muzzaik feat. Zaida - Work It (Dj Vartan & Techcrasher Remix)>|<Charles J - Riders On The Storm>|<Geom - Love Me Fool Me (Pete Bellis & Tommy Remix)>|<Geom - Love Me Fool Me (Pete Bellis & Tommy Remix)>|<Sherrie Sherrie, The Ware, Nina - Nana Song (Dj Antonio, Dj Renat Remix)>|<Jimmy Ruffin - What Becomes Of The Brokenhearted>|<Soul Trend - Groovy Nights>|<Charles J - Riders On The Storm>|<Yuksek & Bertrand Burgalat - Icare (Yuksek Remix)>|<The Messenger - Let It Be>
as you can see... those the names of music tracks
and when I'm looking for them in my collection, often I find just the part of the list
and I wonder, if I can get the info about the files that Everything haven't found.....
Re: Any statistics after searchin the list of files? is that possible?
I still have problems trying to understnd your situation and what you are trying to do.
This is what you are trying to find, based on your search query (that includes errors; more on that later)
If you want to search for these songs, you could do that with this query:
You might have a text file with these songs, like this:
In that case, you can use Advanced Search:
This is what you are trying to find, based on your search query (that includes errors; more on that later)
- You have a lot of EFU files
- Those are called:
"Manuel Costela - Always You.efu"
"Ane Brun, Nudisorder - One Last Try.efu"
"Monsoon Season feat. Miss Bee - Green On Blue.efu"
etc. - Each EFU file contains the path to a song
- You have added all these EFU files to Everything's index (Menu:Tools > Options > Indexes > File Lists )
- Now you want to show the content of all the EFU filelists in your search results
If you want to search for these songs, you could do that with this query:
Code: Select all
"Manuel Costela - Always You" | "Ane Brun, Nudisorder - One Last Try" | "Monsoon Season feat. Miss Bee - Green On Blue"
Code: Select all
Manuel Costela - Always You
Ane Brun, Nudisorder - One Last Try
Monsoon Season feat. Miss Bee - Green On Blue
Eivind Jb, Mari Lu - Tropicalbahn
Muzzaik feat. Zaida - Work It (Dj Vartan & Techcrasher Remix)
- Go to Menu:Search > Advanced Search
- Scroll all the way down until you reach Search for a list of file names:
- Press the [Browse] button to import your file.
- Press the [OK] button
In the Everything search bar something like this will be shown:
filelist:"Manuel Costela - Always You|Ane Brun, Nudisorder - One Last Try"
And that should give you a list of all the songs Everything was able to find on your disks.
Is this wha you want to accomplish? (statistics aside ... )
Re: Any statistics after searchin the list of files? is that possible?
your second guess is closely right... but not much))
I know how to search number of files at once...
but I'm asking for possibility to see the files, that Everything didn't managed to find!!
I want to know the files that Everything was not able to find
(I wrote down two ways of expressing the idea.... because I'm not sure which of them is right... English is not my own language, unfortunaly))
I know how to search number of files at once...
but I'm asking for possibility to see the files, that Everything didn't managed to find!!
I want to know the files that Everything was not able to find
(I wrote down two ways of expressing the idea.... because I'm not sure which of them is right... English is not my own language, unfortunaly))
Re: Any statistics after searchin the list of files? is that possible?
Please try the following batch file:
You will need the command line interface "ES".
Create the following batch file:
find-filename-counts.bat
Create a text filelist:
example-filelist.txt
where each line contains a filename.
call find-filename-counts.bat with your text filelist as a parameter, and output filename as another parameter for example:
find-filename-counts.bat example-filelist.txt out.txt
Example output:
out.txt
This should work fine for a couple hundred filenames, it might run slowly for 1000+
I'll consider adding something like this built into Everything, thanks for the suggestions.
You will need the command line interface "ES".
Create the following batch file:
find-filename-counts.bat
Code: Select all
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe -get-result-count %%A >> %2
example-filelist.txt
Code: Select all
abc.txt
123.exe
everything.png
call find-filename-counts.bat with your text filelist as a parameter, and output filename as another parameter for example:
find-filename-counts.bat example-filelist.txt out.txt
Example output:
out.txt
Code: Select all
abc.txt:12
123.exe:42
everything.png:123
I'll consider adding something like this built into Everything, thanks for the suggestions.
Re: Any statistics after searchin the list of files? is that possible?
I'm not sure I understand these instructions...
<<call find-filename-counts.bat with your text filelist as a parameter, and output filename as another parameter for example:
find-filename-counts.bat example-filelist.txt out.txt>>
can you give some more details..?
<<call find-filename-counts.bat with your text filelist as a parameter, and output filename as another parameter for example:
find-filename-counts.bat example-filelist.txt out.txt>>
can you give some more details..?
Re: Any statistics after searchin the list of files? is that possible?
I downloaded the ES application
then click on exe file.... a few seconds the program listed quickly my EV base
and then disappeared...
and what should i do next ?
How I should CALL find-fn.bat test-list.txt out.txt ?
I'm confused now
I've tried through the windows cmd.... but I've got the mesasage, that ES application is not inner or something... I've note remembered unfortunaly
then click on exe file.... a few seconds the program listed quickly my EV base
and then disappeared...
and what should i do next ?
How I should CALL find-fn.bat test-list.txt out.txt ?
I'm confused now
I've tried through the windows cmd.... but I've got the mesasage, that ES application is not inner or something... I've note remembered unfortunaly
Re: Any statistics after searchin the list of files? is that possible?
You'll need to create the bat file first.
- From the start menu, run Notepad
- In Notepad, paste the following:
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe -get-result-count %%A >> %2
- From the File menu, click Save As...
- Navigate to the same location as your es.exe
- Change the File name to: find-filename-counts.bat
- Change Save as type to All Files (*.*)
- Click Save.
- From the start menu, run cmd
- Navigate to the same location as your es.exe, for example:
- CD c:\es
- Run find-filename-counts.bat with your parameters, for example:
- find-filename-counts.bat example-filelist.txt out.txt
- (make sure you have created your example-filelist.txt in the same location as your find-filename-counts.bat)
Re: Any statistics after searchin the list of files? is that possible?
it doesn't work unfortunaly
my bat file is named: find-fn.bat
my searching filelist: test-list.txt
they take place in the same folder
can you write down the exact command for cmd?
I switch the folder and stay in the the place that my ES.exe
trying to do the job using this command:
CALL find-fn.bat test-list.txt out.txt
but the program return me mistake.. something about... Error 6 - unknown switch
my bat file is named: find-fn.bat
my searching filelist: test-list.txt
they take place in the same folder
can you write down the exact command for cmd?
I switch the folder and stay in the the place that my ES.exe
trying to do the job using this command:
CALL find-fn.bat test-list.txt out.txt
but the program return me mistake.. something about... Error 6 - unknown switch
- Attachments
-
- Screenshot_2.jpg (30.27 KiB) Viewed 19171 times
Re: Any statistics after searchin the list of files? is that possible?
Maybe one of the filenames in your filelist starts with a -
Please try escaping the parameter passed to es, change your bat file to:
Please try escaping the parameter passed to es, change your bat file to:
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe -get-result-count "%%A" >> %2
Re: Any statistics after searchin the list of files? is that possible?
Finally Works!!
I also wanted to ask
why my two computers working a bit differently with EV
One of them don't demand I surround the path with " "
another one give me the proper result only if i surround the path with " "
I'm talking about the requests when I'm looking the list of files and the request looks like this...
I also wanted to ask
why my two computers working a bit differently with EV
One of them don't demand I surround the path with " "
another one give me the proper result only if i surround the path with " "
I'm talking about the requests when I'm looking the list of files and the request looks like this...
D:\Music\ filelistfilename:<Rufus Chaka Khan - Stay>|<Pages - Who's Right Who's Wrong>|<Don Williams - Atta Way To Go>|<WCGR Summer 2016 - WCGR Yeah...We Know People PowerPlay>|<Daryl Hall John Oates - Go Solo>|<Diana Ross - Pieces of ice>|<Quincy Jones - The dude>|<Earth Wind Fire - Let Me Talk>|<George Duke - Heroes>
"D:\Music\" filelistfilename:<Rufus Chaka Khan - Stay>|<Pages - Who's Right Who's Wrong>|<Don Williams - Atta Way To Go>|<WCGR Summer 2016 - WCGR Yeah...We Know People PowerPlay>|<Daryl Hall John Oates - Go Solo>|<Diana Ross - Pieces of ice>|<Quincy Jones - The dude>|<Earth Wind Fire - Let Me Talk>|<George Duke - Heroes>
Re: Any statistics after searchin the list of files? is that possible?
And, if I'm not too much persistant...
is there any opportunity to add to the BAT file information with the specific Location for searching?
I often need to get these figures based on the particular place... not in the whole EV database....
is there any opportunity to add to the BAT file information with the specific Location for searching?
I often need to get these figures based on the particular place... not in the whole EV database....
Re: Any statistics after searchin the list of files? is that possible?
And I also have noticed some things that you possibly will want to improve:
my filelist for example looks like this:
for example:
filelist have this line:
De-Phazz - Jazz Music De Capo
and EV give me in result
De-Phazz, Stuba Philharmonie - Jazz Music (De Capo Edit)
the result file consists some more letters, but in fact they are the same song
(it is a typical thing when you do something with music... same files often have various spelling... )
but when I'm searching this filelist through ES... these files seem to be different
and I have in out.txt
De-Phazz - Jazz Music De Capo:0
Maybe there is the way to make ES to implement searching process like EV ?
++ I Mean to consider the files (like in example above) to be matches and don't return the value:"0" in out.txt
my filelist for example looks like this:
when I'm searching this list using EV... the program give me not only exact matchesKlar & Pf, Diana Di - Take Me Home (Medsound Remix)
De-Phazz - Jazz Music De Capo
Free Nationals - Shibuya
Cloak Dagger, Basement Love - All Night
Blank & Jones - Grown Minds
Rsn - Bonus Track Welcome To Life Max
Jean Tonique - Sunrise (Intro)
Blank & Jones - What You Won't Do For Love
Aurys, Giacomo Bondi - Rio's Sun
Morcheeba - Sweet L.A. Da Lata
Tei Shi - A Kiss Goodbye
Melodiesinfonie - Ao Longo Do Rio
for example:
filelist have this line:
De-Phazz - Jazz Music De Capo
and EV give me in result
De-Phazz, Stuba Philharmonie - Jazz Music (De Capo Edit)
the result file consists some more letters, but in fact they are the same song
(it is a typical thing when you do something with music... same files often have various spelling... )
but when I'm searching this filelist through ES... these files seem to be different
and I have in out.txt
De-Phazz - Jazz Music De Capo:0
Maybe there is the way to make ES to implement searching process like EV ?
++ I Mean to consider the files (like in example above) to be matches and don't return the value:"0" in out.txt
Re: Any statistics after searchin the list of files? is that possible?
I would need to see the file lists and results to work this one out.why my two computers working a bit differently with EV
One of them don't demand I surround the path with " "
Please, if you can, send them to support@voidtools.com
Some of your filelists may contain special characters used by the Everything search syntax.
Make sure your bat file has double quotes around %%A
Add a path search to your ES call:is there any opportunity to add to the BAT file information with the specific Location for searching?
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & c:\ES\es.exe <path-to-search> -get-result-count "%%A" >> %2
where <path-to-search> is the path to limit your results.
For example:
To limit results to "D:\music folder"
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & c:\ES\es.exe "d:\music folder\" -get-result-count "%%A" >> %2
Add the exact: modifier to your ES call:when I'm searching this list using EV... the program give me not only exact matches
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & c:\ES\es.exe -get-result-count exact:"%%A" >> %2
ES uses the same search syntax as Everything.
Re: Any statistics after searchin the list of files? is that possible?
I've done changes in my BAT file
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe "H:\__MULL SPOT BASE\" -get-result-nowfn "%%A" >> %2
and now computer return me error again after running in cmd
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe "H:\__MULL SPOT BASE\" -get-result-nowfn "%%A" >> %2
and now computer return me error again after running in cmd
Re: Any statistics after searchin the list of files? is that possible?
I'm trying to get not exact matches!
I tried to run with
-get-result-nowfn
-get-result
and both ways were not succcess
I've got mistakes: error 6.. something about switches
I tried to run with
-get-result-nowfn
-get-result
and both ways were not succcess
I've got mistakes: error 6.. something about switches
Re: Any statistics after searchin the list of files? is that possible?
Please try the following bat file:I'm trying to get not exact matches!
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe "H:\__MULL SPOT BASE\" -get-result-count ""%%A >> %2
The "" prefix will treat %%A as a literal.
Re: Any statistics after searchin the list of files? is that possible?
unfortunately doesn't work
file-fn text:
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe "H:\__MULL SPOT BASE\" -get-result-count ""%%A >> %2
text-list:
Klar & Pf, Diana Di - Take Me Home (Medsound Remix)
Free Nationals - Shibuya
Cloak Dagger, Basement Love - All Night
Blank & Jones - Grown Minds
Rsn - Bonus Track Welcome To Life Max
Jean Tonique - Sunrise (Intro)
Blank & Jones - What You Won't Do For Love
De-Phazz - Jazz Music De Capo
Aurys, Giacomo Bondi - Rio's Sun
Morcheeba - Sweet L.A. Da Lata
Tei Shi - A Kiss Goodbye
Melodiesinfonie - Ao Longo Do Rio
Royksopp - Sparks
Arlo Parks - Paperbacks
Kate Bollinger - Untitled
Michael Seyer - I Can't Dance
Karnaval Blues - You Come With The Rain
Chloe Martini - San Junipero
Raveena - Salt Water
Collioure - So In Love
Frank Locrasto - Montego
Hot-Q - Oriental Paradise
N O R M A L - Sunkissed
Ronny Jordan, Mos Def, Dj Spinna - A Brighter Day (Edit)
file-fn text:
@echo off
for /F "tokens=*" %%A in (%1) do echo|set /p="%%A:" >> %2 & es.exe "H:\__MULL SPOT BASE\" -get-result-count ""%%A >> %2
text-list:
Klar & Pf, Diana Di - Take Me Home (Medsound Remix)
Free Nationals - Shibuya
Cloak Dagger, Basement Love - All Night
Blank & Jones - Grown Minds
Rsn - Bonus Track Welcome To Life Max
Jean Tonique - Sunrise (Intro)
Blank & Jones - What You Won't Do For Love
De-Phazz - Jazz Music De Capo
Aurys, Giacomo Bondi - Rio's Sun
Morcheeba - Sweet L.A. Da Lata
Tei Shi - A Kiss Goodbye
Melodiesinfonie - Ao Longo Do Rio
Royksopp - Sparks
Arlo Parks - Paperbacks
Kate Bollinger - Untitled
Michael Seyer - I Can't Dance
Karnaval Blues - You Come With The Rain
Chloe Martini - San Junipero
Raveena - Salt Water
Collioure - So In Love
Frank Locrasto - Montego
Hot-Q - Oriental Paradise
N O R M A L - Sunkissed
Ronny Jordan, Mos Def, Dj Spinna - A Brighter Day (Edit)
- Attachments
-
- 123.jpg (33.92 KiB) Viewed 19128 times
Re: Any statistics after searchin the list of files? is that possible?
ES mistakes the - in the filelist as a switch.
Please try the following bat:
This bat file breaks each line up into words.
Double quotes are added to each word and all passed to ES.
For example:
es.exe -get-result-count "Klar" "&" "Pf" "Diana" "Di" "-" "Take" "Me" "Home" "(Medsound" "Remix)"
Please try the following bat:
@echo off
setlocal EnableDelayedExpansion
echo|set /p="" > %2
rem for /F "tokens=*" %%A in (%1) do echo START & for %%B in (%%A) do echo "%%B"
for /F "tokens=*" %%A in (%1) do (
set C=
for %%B in (%%A) do set C=!C!"%%B"
echo|set /p="%%A:" >> %2
REM ECHO es.exe -get-result-count !C!
es.exe -get-result-count !C! >> %2
)
This bat file breaks each line up into words.
Double quotes are added to each word and all passed to ES.
For example:
es.exe -get-result-count "Klar" "&" "Pf" "Diana" "Di" "-" "Take" "Me" "Home" "(Medsound" "Remix)"
Re: Any statistics after searchin the list of files? is that possible?
Finally works
just a little note: the first line of the list always get :0
another ones - work fine
it's not like a big trouble... but I think you can solve this easily !)
one more point:
is it possible to insert two paths for searching?
I tried to add one... and it works
but when I put another one... operation failed
my pattern was: "D:\path1\" | "D:\path2\"
maybe I should write down these paths differently ??
just a little note: the first line of the list always get :0
another ones - work fine
it's not like a big trouble... but I think you can solve this easily !)
one more point:
is it possible to insert two paths for searching?
I tried to add one... and it works
but when I put another one... operation failed
my pattern was: "D:\path1\" | "D:\path2\"
maybe I should write down these paths differently ??
Re: Any statistics after searchin the list of files? is that possible?
Ah, the forum is eating my spaces:
There's an important space after the "%%B"
Please try the following bat:
Escape | with ^|
There's an important space after the "%%B"
Please try the following bat:
@echo off
setlocal EnableDelayedExpansion
echo|set /p="" > %2
rem for /F "tokens=*" %%A in (%1) do echo START & for %%B in (%%A) do echo "%%B"
for /F "tokens=*" %%A in (%1) do (
set C=
for %%B in (%%A) do set C=!C!"%%B"
echo|set /p="%%A:" >> %2
REM ECHO es.exe -get-result-count !C!
es.exe "H:\__MULL SPOT BASE\" -get-result-count !C! >> %2
)
Please use | to separate paths:is it possible to insert two paths for searching?
Escape | with ^|
@echo off
setlocal EnableDelayedExpansion
echo|set /p="" > %2
rem for /F "tokens=*" %%A in (%1) do echo START & for %%B in (%%A) do echo "%%B"
for /F "tokens=*" %%A in (%1) do (
set C=
for %%B in (%%A) do set C=!C!"%%B"
echo|set /p="%%A:" >> %2
REM ECHO es.exe -get-result-count !C!
es.exe "D:\path1\" ^| "D:\path2\" -get-result-count !C! >> %2
)
Re: Any statistics after searchin the list of files? is that possible?
Oh my Lord... You don't guess how much I'm respecting you for your help... and your brilliant program!
two paths - works!!
and now, I will try to keep silence for some time!)
Happy New Year, Best Wishes!
See you next time!
two paths - works!!
and now, I will try to keep silence for some time!)
Happy New Year, Best Wishes!
See you next time!
Re: Any statistics after searchin the list of files? is that possible?
Hi again!
I've got another idea "unfortunaly" ))
Is it possible to make ES ruturn not the number of mathes, but the value of DISC field... ?
for example: files have the info in the field DISC:
FR10S1878659
DEY471722817
DEY471722815
and ES return in out.txt
Christopher Schwarzwalder - Catjammer:FR10S1878659
Coss - Forbidden Orchard (Arutani Remix):DEY47172281
Coss - Forbidden Orchard:DEY471722815
in cases when there are several matches.... take the value of the first match
I've got another idea "unfortunaly" ))
Is it possible to make ES ruturn not the number of mathes, but the value of DISC field... ?
for example: files have the info in the field DISC:
FR10S1878659
DEY471722817
DEY471722815
and ES return in out.txt
Christopher Schwarzwalder - Catjammer:FR10S1878659
Coss - Forbidden Orchard (Arutani Remix):DEY47172281
Coss - Forbidden Orchard:DEY471722815
in cases when there are several matches.... take the value of the first match
Re: Any statistics after searchin the list of files? is that possible?
Where is the DISC field information stored?
Re: Any statistics after searchin the list of files? is that possible?
in tags of the files
it is one of the main fields of the file .. not the extended!
it is one of the main fields of the file .. not the extended!
- Attachments
-
- tags.jpg (28.05 KiB) Viewed 19067 times
Re: Any statistics after searchin the list of files? is that possible?
Not possible with the current version of Everything, sorry.
es does not have access to id3 tags.
es does not have access to id3 tags.
Re: Any statistics after searchin the list of files? is that possible?
I know that EV is able to search in tags using the command like this
album:Christmas
this is why I was dare enough to suppose that ES could do as well...
album:Christmas
this is why I was dare enough to suppose that ES could do as well...
Re: Any statistics after searchin the list of files? is that possible?
what if I will put the info from DISC field into the filename?
in pattern:
The Last Shadow Puppets - Miracle Aligner {GBCEL1600007}
or
The Last Shadow Puppets - Miracle Aligner {{GBCEL1600007
will that help us to resolve the problem?
**in cases when there were no matches - retrun the value:null
The Last Shadow Puppets - Miracle Alignersss:null
in pattern:
The Last Shadow Puppets - Miracle Aligner {GBCEL1600007}
or
The Last Shadow Puppets - Miracle Aligner {{GBCEL1600007
will that help us to resolve the problem?
**in cases when there were no matches - retrun the value:null
The Last Shadow Puppets - Miracle Alignersss:null
Re: Any statistics after searchin the list of files? is that possible?
Yes, you'll need to add the DISC field info to the filenames.what if I will put the info from DISC field into the filename?
Add them as:
The Last Shadow Puppets - Miracle Aligner {GBCEL1600007}
This might be easier to do with powershell:
Please try creating the following es.ps1:
foreach($line in Get-Content $args[0]) {
$searchItems = '"' + $line.replace(" ",'" "') + '"'
$esResult = es.exe $searchItems -n 1
Write-Output "$($line) = $([regex]::match($esResult,'{(.*)}').Groups[1].Value)"
}
In a powershell window, navigate to the same location as your es.ps1 and run:
.\es.ps1 example-file-list.txt > out.txt
where example-file-list.txt is your filelist.
the out.txt will contain this list followed by = and the contents inside { ... }
For example, if you have the following in the example-file-list.txt:
Shadow Puppets
You have the following file/folder on disk:
The Last Shadow Puppets - Miracle Aligner {GBCEL1600007}
You should see the following output in out.txt:
Shadow Puppets = GBCEL1600007
Re: Any statistics after searchin the list of files? is that possible?
Can you integrate one or two paths into the powershell code..?
like always I need to do these search in a particular location...
like always I need to do these search in a particular location...
Re: Any statistics after searchin the list of files? is that possible?
foreach($line in Get-Content $args[0]) {
$searchItems = '"' + $line.replace(" ",'" "') + '"'
$esResult = es.exe "c:\path\to\location1\"|"c:\path\to\location2\" $searchItems -n 1
Write-Output "$($line) = $([regex]::match($esResult,'{(.*)}').Groups[1].Value)"
}
Change c:\path\to\location1\ and c:\path\to\location2\
Please make sure they are double quoted.
Please make sure there is a trailing backslash for the best performance.
Re: Any statistics after searchin the list of files? is that possible?
I've got this...
- Attachments
-
- photo_2020-01-10_08-57-07.jpg (23.57 KiB) Viewed 19040 times
Re: Any statistics after searchin the list of files? is that possible?
Name "es.exe" haven't been recognized as a name of command...function, .. script or execution program...
Check the spelling and the path and try again
Check the spelling and the path and try again
Re: Any statistics after searchin the list of files? is that possible?
I typed this
.\es.exe
after the message
and the process started..
.\es.exe
after the message
and the process started..
Re: Any statistics after searchin the list of files? is that possible?
it's processing the whole EV base...
the path is not accepted..
the path is not accepted..
Re: Any statistics after searchin the list of files? is that possible?
add .\ before your es.exe call in the powershell script.
Please try the following es.ps1:
Please try the following es.ps1:
foreach($line in Get-Content $args[0]) {
$searchItems = '"' + $line.replace(" ",'" "') + '"'
$esResult = .\es.exe "c:\path\to\location1\"|"c:\path\to\location2\" $searchItems -n 1
Write-Output "$($line) = $([regex]::match($esResult,'{(.*)}').Groups[1].Value)"
}
Re: Any statistics after searchin the list of files? is that possible?
the same result...
maybe I should place these files to disc C ?
now my ES folder locates: D:\ES
maybe I should place these files to disc C ?
now my ES folder locates: D:\ES
Re: Any statistics after searchin the list of files? is that possible?
Please make sure es.exe is in D:\ES
Please make sure es.ps1 is in D:\ES
In powershell, please navigate to this folder with:
d:
cd \es
Launch es.ps1 with:
.\es.ps1 filelist.txt > out.txt
Does the same issue persist?
Please make sure es.ps1 is in D:\ES
In powershell, please navigate to this folder with:
d:
cd \es
Launch es.ps1 with:
.\es.ps1 filelist.txt > out.txt
Does the same issue persist?
Re: Any statistics after searchin the list of files? is that possible?
yes
I was doing all the same steps
I was doing all the same steps
Re: Any statistics after searchin the list of files? is that possible?
Escape the | with `|
foreach($line in Get-Content $args[0]) {
$searchItems = '"' + $line.replace(" ",'" "') + '"'
$esResult = .\es.exe "c:\path\to\location1\"`|"c:\path\to\location2\" $searchItems -n 1
Write-Output "$($line) = $([regex]::match($esResult,'{(.*)}').Groups[1].Value)"
}
Re: Any statistics after searchin the list of files? is that possible?
Get Done!!!!
doing last try - I forgot to type .\ in the powershell command
sorry!!
doing last try - I forgot to type .\ in the powershell command
sorry!!
Re: Any statistics after searchin the list of files? is that possible?
One more point...
all the things you teached me, - are working FINE, but there is a little trouble
in cases, when in the list.txt there are lines containing Russian letters
the ES.exe return the wrong value... always:0
here are some example lines:
Cream Soda - Никаких Больше Вечеринок
Cream Soda - Уйди, Но Останься
Zivert - Зеленые Волны (Rafo Remix)
Луна - Лютики
Марсу Нужны Любовники - Скользим (Anton Ishutin Remix)
is there any way to fix it?
*we are talking about the .bat FILE
all the things you teached me, - are working FINE, but there is a little trouble
in cases, when in the list.txt there are lines containing Russian letters
the ES.exe return the wrong value... always:0
here are some example lines:
Cream Soda - Никаких Больше Вечеринок
Cream Soda - Уйди, Но Останься
Zivert - Зеленые Волны (Rafo Remix)
Луна - Лютики
Марсу Нужны Любовники - Скользим (Anton Ishutin Remix)
is there any way to fix it?
*we are talking about the .bat FILE
Re: Any statistics after searchin the list of files? is that possible?
Please try the following to search for Unicode text:
- Make sure the console is using Consolas font or Lucida Console font. (Right click Window caption -> Properties -> Font) Otherwise, you may see the error "The system cannot write to the specified device."
- In your batch file, make sure the top line is blank (or save your bat file without the UTF-8 BOM header)
- After the first blank line, add the following line:
chcp 65001 - This will activate the UTF-8 code page.
- Save your bat file as UTF-8.
- Please make sure your filelists are saved as UTF-8.
- Open your out.txt as UTF-8.
Re: Any statistics after searchin the list of files? is that possible?
Surprisely Easy!!
Thanks a lot!
Thanks a lot!
Re: Any statistics after searchin the list of files? is that possible?
HI again
please tell me, is there any possibility to rescan particular folder through the commands in EV
I mean, the quick rescan a folder
it can be useful in cases when the folder is the part of a big directory that is the part of the EV's folders list
and it is clear that I can rescan the whole directory visiting options... but I'm hoping for some more efficient ways to do that
I would be happy if I could type in search bar something like this
F:\Music\001\ rescan =Enter
and the program runs the quick rescan only in this folder... fast and easy!)
please tell me, is there any possibility to rescan particular folder through the commands in EV
I mean, the quick rescan a folder
it can be useful in cases when the folder is the part of a big directory that is the part of the EV's folders list
and it is clear that I can rescan the whole directory visiting options... but I'm hoping for some more efficient ways to do that
I would be happy if I could type in search bar something like this
F:\Music\001\ rescan =Enter
and the program runs the quick rescan only in this folder... fast and easy!)
Re: Any statistics after searchin the list of files? is that possible?
Currently, no.please tell me, is there any possibility to rescan particular folder through the commands in EV
I mean, the quick rescan a folder
I've added the -rescan <path> to the next major version of Everything.
Thank you for the suggestion.
Re: Any statistics after searchin the list of files? is that possible?
great to hear that!!
and can you help me again?)
how to exclude one of subfolders?
for example, I need to exclude from searching process the files that locate in D:\Path1\subfolder1\
what should I add to my .bat file command?
my tries were not successful (
will you help?
and can you help me again?)
Code: Select all
@echo off
setlocal EnableDelayedExpansion
echo|set /p="" > %2
rem for /F "tokens=*" %%A in (%1) do echo START & for %%B in (%%A) do echo "%%B"
for /F "tokens=*" %%A in (%1) do (
set C=
for %%B in (%%A) do set C=!C!"%%B"
echo|set /p="%%A:" >> %2
REM ECHO es.exe -get-result-count !C!
es.exe "D:\path1\" ^| "D:\path2\" -get-result-count !C! >> %2
)
for example, I need to exclude from searching process the files that locate in D:\Path1\subfolder1\
what should I add to my .bat file command?
my tries were not successful (
will you help?
Re: Any statistics after searchin the list of files? is that possible?
To exclude a folder, use the !"<path>" syntax.
! = NOT
For example:
!"D:\Path1\subfolder1\"
Please try:
! = NOT
For example:
!"D:\Path1\subfolder1\"
Please try:
@echo off
setlocal EnableDelayedExpansion
echo|set /p="" > %2
rem for /F "tokens=*" %%A in (%1) do echo START & for %%B in (%%A) do echo "%%B"
for /F "tokens=*" %%A in (%1) do (
set C=
for %%B in (%%A) do set C=!C!"%%B"
echo|set /p="%%A:" >> %2
REM ECHO es.exe -get-result-count !C!
es.exe "D:\path1\" ^| "D:\path2\" !"D:\Path1\subfolder1\" -get-result-count !C! >> %2
)