binocular222
asked on
fast delete a number of files
Hello,
I have some offline websites. I had more than 15000 files and folders( all stored in a foler). Deleting all these things is a nightmare, even when i used winrar(I checked delete files after finished). It took a lot of time. I wonder whether there is a software can wipe all these file within a minute? Thanks
I have some offline websites. I had more than 15000 files and folders( all stored in a foler). Deleting all these things is a nightmare, even when i used winrar(I checked delete files after finished). It took a lot of time. I wonder whether there is a software can wipe all these file within a minute? Thanks
why not just delete the top-level folder?
ASKER
Windows can delete but very slowly. 15000 file!
Did you try using command prompt?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In case anyone else find this in a search:
I had a cleanup project to do on a server that someone else "worked" on. They left 11,600,000 files in 412,000 folders behind on a drive that desperately needed the space and I had to get it cleaned ASAP without doing anything bad to the server.
I used a trick with ROBOCOPY.EXE to delete those 11.6 million files in just a couple hours. Use the MIRROR (/MIR) switch (which copies or deletes files as needed to make the Destination folder and EXACT copy of the Source folder) with RoboCopy and copy an empty folder to the folder containing all the files you need quickly removed.
I had a cleanup project to do on a server that someone else "worked" on. They left 11,600,000 files in 412,000 folders behind on a drive that desperately needed the space and I had to get it cleaned ASAP without doing anything bad to the server.
I used a trick with ROBOCOPY.EXE to delete those 11.6 million files in just a couple hours. Use the MIRROR (/MIR) switch (which copies or deletes files as needed to make the Destination folder and EXACT copy of the Source folder) with RoboCopy and copy an empty folder to the folder containing all the files you need quickly removed.
- Create a Temp folder, something like "C:\RoboTemp"
- Copy the folder to the folder you want deleted using the /MIR switch
- ROBOCOPY C:\ROBOTEMP C:\FOLDERTODELETE /MIR
- Sit back and watch the files disappear lightning fast
- Delete the now-empty folder that used to contain millions of files and the empty Temp folder
CitizenRon,
You have saved me HOURS of time - thanks for this GREAT suggestion! It is working like a champ! Using Win7, my system was deleting about 2 files per second. Now it is ZIPPING along!!!
You have saved me HOURS of time - thanks for this GREAT suggestion! It is working like a champ! Using Win7, my system was deleting about 2 files per second. Now it is ZIPPING along!!!