PDA

View Full Version : Bash script for common problem, can anyone help?



Bodsda
November 15th, 2008, 10:14 PM
Hey, just had a thought. I was sat at my computer when I decided to look into one of my music folders to find that every single song had duplicated itself 3 times!

So now im left with a folder filled with about 300 (originally about 100) and no simple way of reversing it. I know one thing, theres no way i'm manually deleting each one.

Anyone got an idea?

Thanks

Bodsda

pp.
November 15th, 2008, 10:16 PM
So now im left with a folder filled with about 300 (originally about 100) and no simple way of reversing it. I know one thing, theres no way i'm manually deleting each one.

How do you know they're duplicates? Can you identify which file duplicates which other one, and, if so, how?

cdtech
November 15th, 2008, 10:18 PM
Here is a thread that has the same situation you might be interested in:
http://ubuntuforums.org/showthread.php?t=647883

Hope this helps ya........

reality1011
November 16th, 2008, 02:35 AM
post up an example of contents of the directory....