Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't figure out the new search, it seems like it doesn't work correctly. I know the folder I am searching contains .svn folder.

share|improve this question
    
Are you looking for them so you can delete them? If so, you're doing it wrong. Read up on svn export –  Doug Harris Aug 22 '11 at 17:57
    
They are actually orphaned files so export wouldn't help. –  MVCylon Aug 23 '11 at 1:32
    
Aha. Sorry if my tone was haughty. –  Doug Harris Aug 23 '11 at 1:35
add comment

2 Answers 2

up vote 1 down vote accepted

Try name:~".svn" if you want to use the Windows Search

share|improve this answer
    
NB: this also helps search for parentheses –  Mark Sowul Aug 22 '11 at 17:51
    
Wow, now that's some useful (poorly documented) utility. I had read MS's guide to advanced searching in Windows7 and I don't remember seeing this at all. –  MVCylon Aug 23 '11 at 13:31
    
Yeah I agree, it's maddening; I found it while trying to search for files with parentheses, (thanks to the horrid interaction between the new Live Mesh and Photo Gallery's face tagging). The tilde seems to basically cause Windows to treat the text as literal. –  Mark Sowul Aug 23 '11 at 17:49
add comment

using the commane line:

dir /s /b /ad | findstr "\.svn"

keep in mind it will also return sub-folders.

share|improve this answer
    
Close, but I'm pretty sure on back on XP I could just find the folder I wanted. Did they remove this feature? It seems like Windows 7 removed a lot of good power user features. –  MVCylon Aug 16 '11 at 12:11
    
Try dir /s /b /ad | findstr ".svn$" –  sgmoore Aug 16 '11 at 12:28
    
I tweaked something I already had plus your input FOR /F "delims=" %d in ('dir /s /b /ad ".svn" ^| sort /r') do rd "%d" /S –  MVCylon Aug 16 '11 at 12:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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