Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Comparing directory structures to find common patterns

I have few hundreds of directories that should have a similar structure, but I know some of them doesn't comply with the others.
I need to compare them to identify most common patterns (there might be more than one). It would be nice to have a ranking of the most common structures. I don't care about files too much.

I have no idea how to tackle this problem, are there any tools already available for similar purposes?

It would be great to have solution in Python, but I'll be happy if I'll found anything.

Comments