SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way, probably with Search, where you can find all the documents that have duplicates? I know search will show any document that has been duplicated. Is there any search page, scope, function, etc. that I can leverage that feature to show all duplicates in a library?

share|improve this question
up vote 1 down vote accepted

You could add the file size to the view then group by file size. The odds of multiple documents being the exact same size is rather small so anywhere you have a grouping of more than 1 is worth checking into to see if there is a duplicated file.

share|improve this answer
This is an ok option. Thanks for this. – Mike Aug 27 '12 at 18:18

You want to be checking the content hash of the documents, this will show you the duplicates.

Search store these hashes, so you could look for a way of looking for duplicates of them, you could somehow use the search api to generate a list of all documents, then run an algorithm to look for duplicate hashes.

Not as a server so i can't think how the code would look.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.