@woozle I don't know about tools which find duplicate structure, but for duplicate files you have a few options: rdfind, fdupes, and duff are the ones I found in my quick search just then.
@carlozancanaro rdfind is in apt, so I'm installing that to see if I can use it. The others look like they'll require a bit more work to try out.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!