I have so many duplicate songs but they have different names. Is there an application I can used to find and delete the duplicates?
Asked
Active
Viewed 656 times
1 Answers
5
there are discussions on this matter on community.metabrainz.org going on (see https://community.metabrainz.org/t/how-can-i-remove-all-of-my-duplicate-music/20495/8 for example).
additionally a wiki page on wiki.musicbrainz.org is showing an example on how you could find some duplicates:
https://wiki.musicbrainz.org/History:Find_Duplicate_Music_Files
This wiki boils down to get the deprectated libtunepimp (https://wiki.musicbrainz.org/History:libtunepimp/Download), install it and use the included trm util in the following script:
find / -regex '.*\(ogg\|mp3\|wav\)' -exec trm '{}' ';' -print0
| tr '\n\000' ' \n'
| sort
| uniq -c -W1
| grep -v -e '^ *1'
| cut -b9-44
| xargs -iXX -n1 grep XX /tmp/trms.log
> /tmp/trmdupls.log
in /tmp/trmdupls.log should be a list of all those duplicates. You should make sure there are no false positives in there before deleting all those files blindly.
Carl H
- 6,316
- 6
- 28
- 42