I've moved a lot of files and folders from my old nas to my new smb share. The problem is that someone made entire copies of nearly every folder on that thing. And I need the space.
I'm currently running fdupes in a screen and outputting everything to a file.
But this will give me a huge list of duplicate files, which I have to filter into duplicate folders.
Are there any existing utilities which can find matching folders? Or can someone suggest a shell script that might do the job?
I'm running Ubuntu 14.04