Removing a directory which contains a lot of files
Posted: 2013-09-27, 09:10 UTC
I just had to delete a folder with thousands of files in it.
First it took Total Commander a lot of time to pre-check all the files to delete and after that the deletion process itself took even longer.
Just wondering: wouldn't it be better (faster) to just invoke a command (rm?) that removes the complete folder regardless of the files it contains instead of deleting each single file separately?
First it took Total Commander a lot of time to pre-check all the files to delete and after that the deletion process itself took even longer.
Just wondering: wouldn't it be better (faster) to just invoke a command (rm?) that removes the complete folder regardless of the files it contains instead of deleting each single file separately?