1
I have hundreds of thousands files distributed in many external disks and disks in computers and many are duplicated. This mess was caused by myself creating copies for safety proposal. From time to time I changed the directory structure of my organization but not replicated in other places where had copies.
Now, I have a single huge disk with almost all that I really need backups and mirrored in the cloud.
I would like a way to delete everything from all those distributed disks that is already in the big disk.
Let me show the scenarie:
OldDisk1:
/code/{manystructures}/{manyfiles}
/docs/{manystructures}/{manyfiles}
OldDisk2:
/dev/{another_structures}/{same_files_different_names}
/documents/{another_structures}/{same_files_different_names}
NewHugeDisk:
/home/username/code/{new_strutucture}/{new_files}
/home/username/documents/{new_strutucture}/{new_files}
Anyone know a tool or a way to do something like "find all files on OldDisk1 that are already in NewHugeDisk and delete"?
I looked at many tools (Windows, Mac and Linux as I have this issue on both) free and payed, but with no luck.
And ideia would be create a code to do that, but I'm not a developer. I can do small and simple codes, but this kind of code, I think would be to complicated for me.
I will appreciate any help or any ideas on this.
What are some of the tools you've tried? How have they failed? – music2myear – 2017-06-14T00:14:00.583
if you are using linux, I've had some luck with fslint. Of course, you will want to delete them as an explicit process (not automatic) but you can generate a list of file names for a delete script or whatever. – Frank Thomas – 2017-06-14T01:30:14.403
@music2myear I have tried many tools for mac, windows and linux. This a a short list I have tried: Easy Duplicate, Duplifinder, Mr Clean, Gemini 2, Dupe Guru, CCleaner, Duplicate File Finder, Auslogics Duplicate File Finder, Disk Drill, Tidy Up, Duplicate Detective, Decloner, Clone Spy, Doppleganger. There are many others that I have read about and even tried but didn't sound to do what I expected to do. – Tuts – 2017-06-15T13:19:43.630
@Frank Thomas, I didn't tried it, but as I read, it will not be able to acomplish what I want. – Tuts – 2017-06-15T13:20:33.847
@music2myear I forgot to answer yours second question.
All those tools delete any duplicate file it finds on any path you provide. Lets say you provide /old/* and /new/* and just on the new has /new/dir1/a.txt and /new/dir2/a.txt. it will delete one of then. But I just want to delete files on the /old/*. – Tuts – 2017-06-15T13:31:07.277