deleting large number of files

  • Thread starter Thread starter Thomas Gusset
  • Start date Start date
T

Thomas Gusset

Hi
I have to delete about 4'000'000 (4 milions) files in a single
directory.
I tried to use 'del dir' but if I monitor freed disk space it looks
like it will need about 2 months until all the files will be deleted.
Is there an other (faster) way to delete so many files?

Thanks for help

Thomas
 
Hi
I have to delete about 4'000'000 (4 milions) files in a single
directory.
I tried to use 'del dir' but if I monitor freed disk space it looks
like it will need about 2 months until all the files will be deleted.
Is there an other (faster) way to delete so many files?

If the directory is on a non-OS partition, you could move all the other files
(assuming it is significantly less than 4 million) off the partition
and reformat the partition.

That would also take care of the defragging that would likely be
required after deleting. And restart with a fresh MFT.

Roger
 
Back
Top