What would be the most fastest method to delete all empty folders in a repository. This would be a one off (hopefully) clean up exercise. I have tried using search activity in the WF to find empty folders but this is too slow. There is also the added complication of nested empty folders so there would have to be iterative element to the process. The repository has about 400k folders.