How dow I remove 1.000.000 WebsiteCache directories?
Posted
by
harper
on Super User
See other posts from Super User
or by harper
Published on 2011-01-04T15:35:09Z
Indexed on
2011/01/04
15:55 UTC
Read the original article
Hit count: 241
I found that in a WebsiteCache directory more than 1.000.000 subdirectories has been created. I want to remove all these directories. My first approach was to use the command line tool:
cd WebsiteCache
rmdir /Q /S .
This will remove all subdirectories except WebsiteCache itself, since it is the current working directory.
I noticed after two hours that the directoriws starting with A-H have been removed.
Why does rmdir removes the directories in alphabetical order? It must take additional effort to do this ordered.
What is a fast way to deleted such an amount of directories?
© Super User or respective owner