I’ve just written a script and submitted it at Weberdev.com, you can see it at… Read the postDirectory clean up