I have a working directory that is used to unzip logfiles to, analyze them, and then they can be deleted. Either only the files in the folder or the complete folder and then recreating the folder. # of files in the folder can vary between 5k and 36k, average filesize is 6MB
I am currently using robocopy to purge the directory and have seen a couple of suggestions on how to do this in Python (How to delete the contents of a folder?) but was wondering which one would be the faster approach.
Thanks!