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.