searching for duplicate files, but named differently
I am looking for a way to find duplicate MP3s I run a radio station, and well we have several thousand duplicated MP3s but the names are all different, is there anyway someone can point me in the write direction?
All the files are named Mnnnnnn.mp3 or Pnnnnnn.mp3 (where n is a linear number) and I want to search through and delete the ones that are duplicated... I need some kind of list of files that were deleted afterward too... either in text or csv so I know what number are available to be used again. Thanks in advance. Matthew. |
You are probably going to want to create a database that lists what the song is and what it's md5sum is. This would give you a nice way to tell if there are duplicates.
|
Hi.
I had a little script to check for duplicate files. Code:
#!/bin/bash Note - cd to the directory with the mp3 before you run it. |
FYI :)
Code:
while read line Code:
while read sum file |
I have got a perl script that does a similar job to the bash but recurses down.
It produces a list by comparing the cksum of the files. with mp3s though I should think if the ID3 tags are different then naturally the cksum will be different. see this script http://www.linuxquestions.org/questi...94#post2343194 |
All times are GMT -5. The time now is 02:19 PM. |