Some users of mine have documents in SharePoint that have versioning turned on. Well, there wasn’t ever a limit for these versions so the versions kept piling up and up and up. We have only 19 documents in the document library, but the size of the document library, all in all, is a whopping 6.3 gigs! Ouch! I decided some version deletion was in order. Making use of versions is all fine and dandy, but keeping all the versions from the document’s creation is overkill. So, hmm, I know that you can delete a version one by one, but what about mass deletion of certain versions? I know SharePoint doesn’t handle this OOTB, and picking and choosing which versions I’d like to keep are out of the quesiton….so I did some research.
– I could delete each version one by one. No thanks, too timely.
– I could use a program to do it for me. No thanks, too risky.
– Found SQL Statements that are ran against the content database. No thanks, way too risky!
So I came up with my own method. Did not find it in any other blogs, so I decided to blog about it so I can help anyone else struggling with the issue.
All you do is:
– Make sure you have recycle bin turned on.
– Delete all (I didn’t stutter) major and/or minor versions from the “Version History” page of a file
– Navigate to the Recycle Bin.
– Restore the versions you want to keep! Delete the ones you don’t!
– Viola! You get to pick and choose which versions you delete!
Wasn’t that simple? Make sure you do this one-by-one. This way, you can differentiate the versions of one file with the versions of another file.