codekandis/duplicator is a CLI application to identify duplicates in different directory structures and to offer actions to handle them.
Install the latest version with
$ git clone git@github.com:codekandis/duplicator
$ git checkout master
$ composer installEdit the configurations based on your needs.