Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Windows Server 2008 R2. Old ish server (4 cores, 2GB RAM) fairly average disks running no raid.

I've used windows F, then searched for .svn files

Selected all, and deleting them. 631 files and 220MB. It is going to take about 45mins to delete!!

Problem: How to delete files quickly?

No antivirus or windows serach service running. Out of the box install of 2008R2. No other users on the system. Using terminal services to admin onto the box as a development machine.



share|improve this question
did it really take 45 minutes to complete, or did you cancel the operation? – tony roth Nov 30 '10 at 3:52
disks may have bad blocks. Any else is slow ? Or only file deletion? Raid is software raid or there is hardware raid? If hardware raid, is it with BBWC? what type of disks You have? In event log isn't anything aboud disks? – Guntis Jan 16 '13 at 9:27
Good thoughts... a few years ago so no idea!! – Dave Mateer Jan 16 '13 at 9:41
up vote 2 down vote accepted

Do you delete or shift-delete? If you delete to recycle bin it takes longer. Try shift-deleting. Plus: check whether recycle bin is full, if so it takes even longer deleting old files from bin while deleting the .svn folders.

share|improve this answer

A script might be a faster way to accomplish this, especially if you're going to do this multiple times.

for /f “tokens=* delims=” %%i in (’dir /s /b /a:d *.svn’) do ( del /q “%%i” )

share|improve this answer
or from the root: del *.svn /s – joeqwerty Nov 30 '10 at 3:54

protected by Chris S Apr 20 '13 at 23:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.