Reply to comment

Erin's picture

iTunes Love and Hate

5 years of work gone!
I like Mac's. I have been using one at work and at home for a little more than a year now and I can say that problems are slightly less than I had with Linux or Windows. I like iTunes also. When I could I always used it. The last time I reinstalled my Mac OS on my mini, I made a horible. Mistake. I forgot to un-check "Keep iTunes Music Organized". SHIT 5 years of carefully organizing my music by genera, then artist and album. GONE. Now my Music Folder looks like some one threw up a bunch of disconnected stuff in it. I am pretty upset. My fault I know but still I am upset. So my music is now a disaster of files and folders with duplicates all over. SUCK. I decided I at least needed to do something about the duplicates. I opened a terminal window and started with a find the after I created the list I removed all the duplicates with a while read statement. Not the sexiest thing I have ever seen but it worked. erin@erin:~/Music$ find . -name "*1.mp3" -o -name "*2.mp3" -o -name "*3.mp3" -o -name "*4.mp3" >> rmsongs.txt erin@erin:~/Music$ cat rmsongs2.txt | while read LINE ; do rm "$LINE" ; done
You will want to replace the rm with ls or echo the first time through to make sure it is removing right files.

Reply

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.