I automatically removed duplicate projects

The first time, I removed the smaller projects with the same name from a single folder – the only difference was that some projects occasionally had _0, _1 and so on appended to their names. Then I applied this to 5 of my backups of project folders, but it didn’t work. I tried to change the algorithm in every way I could, but it got stuck on some line of code and didn’t work. So I wrote the algorithm again, differently and tailored exactly to this task. You can see the result here:


Delete duplicate projects

And after the removal I have 96,715 files and 21,063 folders, with a total size of 2.58 GB.

Categories

Leave a Reply