I have a largish music collection and there are some duplicates in there. Is there any way to find duplicate files. At a minimum by doing a hash and seeing if two files have the same hash.
Bonus points for also finding files with the same name apart from the extension – I think I have some songs with both mp3 and ogg format versions.
I'm happy using the command line if that is the easiest way.
Best Answer
I use
fdupes
for this. It is a commandline program which can be installed from the repositories withsudo apt install fdupes
. You can call it likefdupes -r /dir/ect/ory
and it will print out a list of dupes. fdupes has also a simple Homepage and a Wikipedia article, which lists some more programs.