Bypassing the recycle bin

Testing can be so much fun. You build up sites, fill them with rubbish data, tear them down, rinse and repeat. Recently I had a site I’d put a fair bit of effort into and the client loved it. Problem – how do I leave the site as it is, but remove all the bad data?

Option 1: Once you have deleted all of the bad content from the lists, etc, you can go page by page through the recycle bin, 50 at a time and delete them from there… then do the same in the site collection recycle bin (this takes too long, gives me RSI)

Option 2: You could go to Central admin, and under the web app delete everything in the site collection by switching off and on the recycle bin (not granular enough – deletes all recycled objects in all site collections within that Web app)

Option 3: You can go to the recycle bin of interest, then enter the following into the address bar (by itself):
Woah! Files in the recycle bin vanish, and people would not even know they existed. Lucky users don’t know that this exists… oh wait, now they do 🙂 – thanks to Jag from OBS who blogged this "gem" – 

Option 3 wins hands down.


About Brad Saide

I'm a SharePoint consultant. I'm also slowly going bald, seem to have a permanent spare tyre around my waist and enjoy socialising with friends over a beer or 10. The last 2 may possibly be related. Started working with SharePoint when the first version was in limited beta release (participated in the Technology Adoption Program while at Woolworths) and have been committed to the adoption of the technology as a business enabler ever since.
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Bypassing the recycle bin

  1. Justin says:

    Life. Saver.
    I just had to delete 3,000+ items from a full sharepoint site. I was having to clear them out fo the bin 50 at a time.

    just saved me a ton of time.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s