A faster shutil.rmtree or maybe a command.

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


H!

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?

Thanks,
GC-Martijn




More information about the Python-list mailing list