Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Cheers

Dave

share|improve this question
2  
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

2 Answers 2

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 answers, posting an answer now requires 10 reputation on this site.

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.