How to AUTO remove duplicate files
Hi, I wish to remove duplicate files from my midi collection.
I started with fdupes which lets me choose which of the dupes I wish to keep (Usually 1). Then I realised I would have to decide over 12,000 times. Not practical! I would be happy just to keep the first copy, then delete the rest. Is there an app that might do this for me, or would I have to pass the option from fdupes to some sort of bash script thingy? I realise it's not a good idea to let the system loose like this, but the doesn't seem to be an alternative. If it requires a bash script, some/any advice would be greatly appreciated, as I don't have any idea where to start. Thanks |
Sorry about this, but I think I've sorted it.
I found a reference to a command called 'yes' which seems to pass a string. yes 1 | fdupes -rd /mnt/hda5/midi_files Just in case anyones interested. |
Thanks for posting the solution you found - it's good for with other people with a similar need are directed to the thread by search engines. :)
|
There are a couple examples in this thread.
|
Quote:
I did wonder about the accuracy of fdupes, I didn't realise there are apps specializing in finding dupe images. Very handy! |
Bonzer! That script was exactly what I've been looking for. It's so good on the trial folders I set up, that when I let it loose on /dev/hda, it instantly recognised that I had two operating systems, deleted the one (marked "Windoof Genuine Advantage"), and kept the better version (marked "linux")! Only joking about the last bit, I cleared that crap off my hard drive five years ago, but sincerely, well discovered!
|
a customizable alternative
if you're interested in a solution where you can rank directories
for priority of beeing deleted if duplicates found in them. also providing a configuration file with regexes for selection of files. you can find a full list of features here. the program is here http://perlhobby.googlecode.com/svn/...e_eraser_v0.7/. also there is a readme file here that describes the program in detail. |
Duplicate Files Deleter
I read your post. We all need to delate Duplicate Files Deleter softwere for delete Duplicate files form our PC. So I have a softwere for this work. I sheared with you my softwere so there is the link to go my site Just go there and download the free version of this softwere. If you like that then buy If not you don't want to buy it.
|
from man fdupes:
Code:
-N --noprompt |
I've recently found a software "Duplicate Files Deleter", and it can help you with this. Check http://DuplicateFilesDeleter.com . There is a video to explain the process. Pretty nice solution to delete duplicates safely.
|
All times are GMT -5. The time now is 09:31 AM. |