removing duplicate MP3s

NoOp glgxg at
Fri Jun 12 01:08:56 UTC 2009

On 06/11/2009 09:10 AM, Charlie Brune wrote:
> admin2 wrote:
>> Hi list,
>> I am looking for an automated application that can look at MP3s and 
>> remove the duplicate file names that could spread across multiple 
>> directories.  Is there such an animal?
>> Cheers,
>> Noah
> Are you really looking just to delete files that have the same file name
> or do you really want to delete files that have exactly the same content?
> For example, I had the problem where a picture I took with my digital
> camera was saved in one directory as "DSC011823.JPG" and in another
> directory as "Charlie_Has_A_New_Hat.JPG".
> I wanted to delete duplicates of this nature and I used "fdupes" to do
> it. Fdupes looks at the contents of the files, NOT the filenames.
> Perfect for me.
> I did:
> fdupes -r mypictures/
> I ended up piping the results of this command into a file and editing it
> to create a bash script to delete files I didn't want.

Cool! But you forgot to mention that you must install it first :-)

$ man fdupes
No manual entry for fdupes
$ sudo apt-get install -s fdupes
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst fdupes (1.50-PR2-1 Ubuntu:9.04/jaunty)
Conf fdupes (1.50-PR2-1 Ubuntu:9.04/jaunty)

More information about the ubuntu-users mailing list