Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

After switching to Ubuntu, I discovered iTunes had been storing duplicates of my music.

e.g.

Highway to Hell/ contains:

Highway to Hell.mp3
Highway to Hell 1.mp3
Girls Got Rhythm.mp3
Girls Got Rhythm 1.mp3 ...etc

Not all of my music is like this, only some of it.

My question is, is there a way I can create a smart playlist that:

1) Finds if an album has duplicate tracks

2) Finds if any of the duplicate track end in " 1.mp3"

3) Select only those tracks for the playlist.

Any help would be extremely appreciated.

share|improve this question
    
Do you want to delete/remove these duplicate files? –  izx May 10 '12 at 23:40
    
Yea, but deleting them is trivial. The hard (time-consuming) part is selecting them all. –  user1029167 May 10 '12 at 23:48

2 Answers 2

up vote 1 down vote accepted

Try installing FSLint!

To install from terminal Hit Alt+Ctrl+T and run the following command:

sudo apt-get install fslint

To install from Software Center, Search for 'fslint'.

It can easily find duplicate files and then gives you an option to delete, Move etc. Give it the path to your iTunes folder, and click find.

enter image description here

share|improve this answer
    
Awesome, I am trying this out right now. It will take awhile since my music folder is about 200gb. –  user1029167 May 11 '12 at 0:18
    
Good to know! FSLint checks if the files are exactly the same, so if one is say an MP3 and the other is an M4A, or they have different bitrates, it will not consider them duplicates. If you have this problem, please update and I'll find a solution :) Please select this as the answer if it all works out. –  izx May 11 '12 at 0:39

Quodlibet (music player/library manager) has a duplicate plugin to find duplicates tracks sharing the same tags (artist, title, length, anything..). So, if your library is properly tagged, your duplicate files should have the same tags. And being a music player, you could more easily listen/delete/rename tracks. You can also set any pattern of tag you want, if for example, the artist tag is missing ..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.