Hello,
Let's say I have a folder with these files in it
cat.mp3
cat.wav
dog.mp3
dog.wav
turtle.mp3
I want to have the search results be all duplicate filenames ignoring the file extensions.
So the search results will be only:
cat.mp3
cat.wav
dog.mp3
dog.wav
Then I want to sort the results by extension to get rid of the mp3s that have the same names as wavs.
Or maybe there's a simpler way to get the end result I really want, which is to show me all the mp3s
that, disregarding/ignoring the file extensions, have the same filenames as the wavs in the folder.
(some duplicate file finder program I use does not ignore extensions, so I cannot tell it to see cat.mp3 and cat.wav as duplicate filenames)
( I cannot just sort the folder by extensions, because the grouping of mp3s will include files that do not have, duplicate filenames,
in this example turtle.mp3)
So how can I get to:
cat.mp3
dog.mp3
from this:
cat.mp3
cat.wav
dog.mp3
dog.wav
turtle.mp3
I have a folder with a few thousand files in it which are mp3s and wavs,
many, many, but not all, of the files have, disregarding the file extensions, duplicate filenames.
I want to see the files that are, ignoring the extensions, duplicate filenames.
Then I want to delete the mp3 versions of the same name files.
Thank you for any ideas to try.
How to show duplicate filenames, ignoring file extensions?
Re: How to show duplicate filenames, ignoring file extensions?
To find duplicate stems, for wav and mp3 files, include the following in your search:I want to have the search results be all duplicate filenames ignoring the file extensions.
So the search results will be only:
ext:wav;mp3 dupe:stemFinding duplicates in Everything 1.5
edit: Use the following to only show mp3/wav files where the same stem exists in the same location:
ext:wav;mp3 dupe:stem;pathFor more control, please try:Then I want to sort the results by extension to get rid of the mp3s that have the same names as wavs.
<regex:^(.*)\.mp3$ fileexists:$1:.wav>|<regex:^(.*)\.wav$ fileexists:$1:.mp3> sort:extThis will only show mp3/wav files where the same stem exists in the same location.
< > == grouping.
regex: == enable regular expressions.
^ == match start of filename.
(.*) == match the stem and capture it in regmatch1.
\.mp3 == match the extension.
$ == match the end of the filename.
| = OR
file-exists:
If you only want to show the mp3 files:
regex:^(.*)\.mp3$ fileexists:$1:.wavRe: How to show duplicate filenames, ignoring file extensions?
For now I stick with the non regex techniques.
This what you gave above works great:
ext:wav;mp3 dupe:stem
In my case I'm happy to just take the results and move them to another folder, then sort them by extension there and delete the mp3s.
Thank you so much for your help with this.
This what you gave above works great:
ext:wav;mp3 dupe:stem
In my case I'm happy to just take the results and move them to another folder, then sort them by extension there and delete the mp3s.
Thank you so much for your help with this.
Re: How to show duplicate filenames, ignoring file extensions?
Use the following to only show mp3/wav files where the same stem exists in the same location:
ext:wav;mp3 dupe:stem;path