A faster shutil.rmtree or maybe a command.

martijn at gamecreators.nl martijn at gamecreators.nl
Tue Oct 11 11:48:58 CEST 2005


Sometimes I must delete 2 very big directory's.
The directory's have a very large tree with much small file's in it.

So I use shutil.rmtree()
But its to slow.

Is there a faster method ?

I use FreeBsd 5.4.

is it maybe faster to walking in the directy en delete each file?


More information about the Python-list mailing list