Sorry, It was about 5 months ago and I don't have much on me at hand with regards to this.
Regarding an efficient way to do this, I don't remember there being one off the top of my head. As I said previous, I believe I created a script - maybe bash? - that did the removal for me. Sorry that I can't be of more help