How with search string *.mp3.xml

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Kurt
Posts: 19
Joined: Thu Aug 06, 2009 3:10 am

How with search string *.mp3.xml

Post by Kurt » Fri Dec 25, 2020 5:22 pm

So I have search string that looks like... *.mp3.xml

how can I get the results of that to also include the actual .mp3 that has that associated .xml
ie it would only show the xml file.. but I mainly want the mp3....

Dirk M - Signum Tribute 2012 - Vol 1.mp3
Dirk M - Signum Tribute 2012 - Vol 1.mp3.xml

is it possible? or would I need to use the api somehow?

void
David Carpenter (Developer)
Posts: 9323
Joined: Fri Oct 16, 2009 11:31 pm

Re: How with search string *.mp3.xml

Post by void » Fri Dec 25, 2020 9:30 pm

It's a little tricky to do with Everything 1.4, please try the following:
  • Search for:
    *.mp3.xml
  • From the File menu, click Export...
  • Change Save as type to: EFU Everything File List.
  • Choose a filename and click Save (eg: mp3-xml.efu on the Desktop)
  • Open this mp3-xml.efu with notepad and replace (Ctrl + H) all occurrences of .mp3.xml with .mp3
    For example:
    c:\music\Dirk M - Signum Tribute 2012 - Vol 1.mp3.xml
    to:
    c:\music\Dirk M - Signum Tribute 2012 - Vol 1.mp3
  • In Everything, from the Search menu, click Advanced Search.
  • Scroll down to the bottom and to the right of Search for a list of file names click Browse...
  • Select your mp3-xml.efu from above.
  • Click OK.
    -Everything will now list all mp3 files that have a matching mp3.xml file in the same folder-
A feature to find duplicate 'stems' is in development.
A feature to search for regex captures is in development.

Kurt
Posts: 19
Joined: Thu Aug 06, 2009 3:10 am

Re: How with search string *.mp3.xml

Post by Kurt » Mon Jan 17, 2022 9:07 pm

void wrote:
Fri Dec 25, 2020 9:30 pm
It's a little tricky to do with Everything 1.4, please try the following:
  • Search for:
    *.mp3.xml
  • From the File menu, click Export...
  • Change Save as type to: EFU Everything File List.
  • Choose a filename and click Save (eg: mp3-xml.efu on the Desktop)
  • Open this mp3-xml.efu with notepad and replace (Ctrl + H) all occurrences of .mp3.xml with .mp3
    For example:
    c:\music\Dirk M - Signum Tribute 2012 - Vol 1.mp3.xml
    to:
    c:\music\Dirk M - Signum Tribute 2012 - Vol 1.mp3
  • In Everything, from the Search menu, click Advanced Search.
  • Scroll down to the bottom and to the right of Search for a list of file names click Browse...
  • Select your mp3-xml.efu from above.
  • Click OK.
    -Everything will now list all mp3 files that have a matching mp3.xml file in the same folder-
A feature to find duplicate 'stems' is in development.
A feature to search for regex captures is in development.

Hi @Void ... were those additional features
"A feature to find duplicate 'stems' is in development.
A feature to search for regex captures is in development."

ever added? and if so what would the search string look now to get this working?

would be great if there was some new way to lookup .mp3.xml and have the search results show just the .mp3 that matched that?

void
David Carpenter (Developer)
Posts: 9323
Joined: Fri Oct 16, 2009 11:31 pm

Re: How with search string *.mp3.xml

Post by void » Tue Jan 18, 2022 3:24 am

Yes, they have been added and are available for testing with the Everything 1.5 alpha.


To find duplicated stems:
  • In Everything 1.5, right click the result list column header and click Add columns....
  • Select Stem and click OK.
  • Right click the Stem column header and click Find Stem Duplicates....
    ---DUPE is shown in the status bar on the right to indicate the result list is showing duplicates only.
  • Double click DUPE or change the search to clear.
Finding duplicates.



To search regex captures:
  • In Everything 1.5, type in your regex search with a capture group, for example:
    regex:\b(\d\d\d\d)\b
  • Combine with regexmatch1: - regexmatch9: to compare the capture group, for example:
    regex:\b(\d\d\d\d)\b tonumber:regexmatch1:1990..1999
You can use group captures on any property (not just the filename), for example:
regex:album:(\d+)
-or-
regex:content:&quot:var&quot::(.*)


Use \1 - \9 to reference capture groups with fileexists: search function and expand: search modifier.

void
David Carpenter (Developer)
Posts: 9323
Joined: Fri Oct 16, 2009 11:31 pm

Re: How with search string *.mp3.xml

Post by void » Tue Jan 18, 2022 3:27 am

Please try the following search:

<regex:^(.*)\.mp3\.xml$ fileexists:\1.mp3> | <regex:^(.*)\.mp3$ fileexists:\1.mp3.xml>



If you only want to list mp3.xml files where the mp3 file exists:
regex:^(.*)\.mp3\.xml$ fileexists:\1.mp3

If you only want to list mp3 files where the mp3.xml file exists:
regex:^(.*)\.mp3$ fileexists:\1.mp3.xml


If you find these searches useful, please consider adding them as a filter from Search -> Add to filters....


file-exists:

Kurt
Posts: 19
Joined: Thu Aug 06, 2009 3:10 am

Re: How with search string *.mp3.xml

Post by Kurt » Tue Feb 01, 2022 4:26 pm

Amazing it works great thanks.. and yeah using it as filter is useful aswel.. more than a bookmark, can actually further filter the result :)


This tool is might the biggest reasons to use windows, is nothing like it on linux is there

Post Reply