I need a script to search through my audio collection and find duplicate files (after trying various tools to "automatically" clean up my library, I now have many copies of almost everything and I'm running out of hard drive space).
It's been awhile since I've done any code hacking, so I figured I would see if anyone has a quick answer for me.
what I have in mind is a recursive find command that will create a list of all files from within
/share/Audio that have a string like
(1).m in the name (the "1" could be any integer), then check to see if the same file exists in the same directory without the
(#).m in it's name; if the original exists, then output the full path/filename of the file with
(#).m in it's name to a text list for my review that I could then later feed into an rm command.
Simple enough right..

As I work out the script I'll post my progress; if anyone can save me the effort, it would be greatly appreciated.
Here is the general idea:..I'm off to see what I can re-learn about the find command, regular expressions, substitution, etc.
thanks for any help!!