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.

link|improve this question

75% accept rate
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. – Doug Chamberlain Aug 23 '11 at 1:32
Aha. Sorry if my tone was haughty. – Doug Harris Aug 23 '11 at 1:35
feedback

2 Answers

up vote 1 down vote accepted

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

link|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. – Doug Chamberlain 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
feedback

using the commane line:

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

keep in mind it will also return sub-folders.

link|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. – Doug Chamberlain 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 – Doug Chamberlain Aug 16 '11 at 12:33
feedback

Your Answer

 
or
required, but never shown

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