shell

Shell Command - Remove SVN Folders - Jon GallowaySign in | JoinJon GallowayThis BlogHomeContactSyndicationRSSAtomComments RSSSearchGo Tags.NET .NET code .NET Wishes //TODONT: ASP.NET Backseat Driver BizTalk Blogging Browsers / Web Development DotNetNuke Enterprise Library Fix General Software Development Goofy nerd stuff Ideas Internet and Information Lazy Web Requests Links Media Center Microsoft MIX07 Mono Monoppix Pathetic plea Real Life RSS / Blogging Silverlight Software Development SQL SQL Server SubSonic TechEd TechEd / PDC Tips / Tricks Tools Vector Graphics / SVG Virtual PC WPF / Silverlight News.tlp{ font-size: 10px; font-family: verdana, arial;} .tli{ float: none;margin-left: 0px;margin-right: 10px;margin-top: 5px; }.tlp{ display: block;font-size: 10px;line-height: 15px;margin-top: 5px;}#wedje_div_thelounge{ width: 140px; }.adsvia{ margin-top: 10px;}Ads via The Lounge.hdn_adtitle {font-family: Verdana; font-size:10pt; font-weight:bold; text-decoration:underline; color:#000099;}.hdn_adsubtitle {font-family: Verdana; font-size:8pt; color:#999999; font-style:italic;}.hdn_adline { font-family: Verdana; font-size:8pt; }.hdn_lnks { font-family: Verdana; font-size:8pt; color:#000099; font-weight:bold; }Get updates by EmailAll posted code is published under Public Domain license unless otherwise stated. All content is published under a Creative Commons Attribution LicenseNavigation HomeBlogs Archives April 2008 (4)March 2008 (3)February 2008 (7)January 2008 (8)December 2007 (1)November 2007 (4)October 2007 (7)September 2007 (8)August 2007 (1)July 2007 (7)June 2007 (13)May 2007 (10)April 2007 (14)March 2007 (3)February 2007 (9)January 2007 (7)December 2006 (9)November 2006 (14)October 2006 (12)September 2006 (7)August 2006 (7)July 2006 (7)June 2006 (5)May 2006 (4)April 2006 (17)March 2006 (18)February 2006 (7)January 2006 (12)December 2005 (9)November 2005 (21)October 2005 (23)September 2005 (17)August 2005 (10)July 2005 (7)June 2005 (5)May 2005 (15)March 2005 (7)February 2005 (11)January 2005 (17)December 2004 (12)November 2004 (5)October 2004 (22)September 2004 (10)August 2004 (6)July 2004 (14)June 2004 (14)May 2004 (16)April 2004 (18)March 2004 (8)February 2004 (6)January 2004 (7)December 2003 (9)November 2003 (4)October 2003 (5)September 2003 (7)August 2003 (5)June 2003 (2)May 2003 (5) LinksTechnorati SearchJohnny CoderMamma Made Designs Shell Command - Remove SVN FoldersThe Subversion source control client maintains your local state in hidden folders named .svn inside your project, which can be a problem if you want to copy or share the project directory. This REG file adds "Delete SVN Folders" to the context menu for folders. When you select it, it removes all folders named .svn inside the folder and it's children (it does nothing if the project's not under Subversion source control. I'm not going to bother explaining reg file installation here - I figure if you're using SVN, you're good with reg files. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]@="Delete SVN Folders" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]@="cmd.exe /c \"TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \"" I got the idea from Wyatt Preul's post comparing Powershell and Command Prompt commands to delete SVN directories, so if you'd like to do this manually take a look at his scripts. PublishedSaturday, February 24, 2007 2:30 PMbyJon Galloway Filed under: Tips / TricksComments#re: Shell Command - Remove SVN FoldersHeya Jon, Another way you can crack this nut is to use the export command: http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.export.html Cheers, Matt Saturday, February 24, 2007 6:58 PMby MattyT#re: Shell Command - Remove SVN FoldersThanks, Matt. Looks like they're slightly different - SVN export copies your project to a new folder that's not under SVN control, and the "Remove SVN Folders" command I posted removes SVN control from the current folder. Monday, February 26, 2007 1:58 PMby Jon Galloway#re: Shell Command - Remove SVN FoldersVery nice, thanks for sharing. Tuesday, February 27, 2007 1:24 PMby Scott Schecter#re: Shell Command - Remove SVN FoldersSVN Export only exports files that are under SVN control. It will not export files set to ignore. This reg entry is a very cool way to clean up a copied SVN folder when you want to share the ignored files, too. Thx for posting it. Tuesday, February 27, 2007 2:47 PMby David Parsons#re: Shell Command - Remove SVN FoldersGood idea, you may want to include _svn for ASP.Net developers. Not familar with cmd so not sure how you would add this myself though. Wednesday, February 28, 2007 6:03 AMby Damien McGivern#Terminally Incoherent » Blog Archive » Remove .svn Folders from the Project DirectoryPingback from Terminally Incoherent » Blog Archive » Remove .svn Folders from the Project Directory Saturday, June 09, 2007 1:25 AMby Terminally Incoherent » Blog Archive » Remove .svn Folders from the Project Directory#Why SubVersion SVN can be a painPingback from Why SubVersion SVN can be a pain Saturday, June 09, 2007 11:11 AMby Why SubVersion SVN can be a pain#Technical Related Notes » Blog Archive » links for 2007-02-28Pingback from Technical Related Notes » Blog Archive » links for 2007-02-28 Saturday, August 18, 2007 12:57 PMby Technical Related Notes » Blog Archive » links for 2007-02-28#One Shell Command to delete all svn hidden foldersRemove SVN subfolders Saturday, September 08, 2007 7:11 PMby Bashmohandes#re: Shell Command - Remove SVN Foldersto ene genie toi papi..mu Monday, September 10, 2007 6:16 AMby Ashvin Gunga#Removing .svn Folders From a Directory TreeIf I had a $1 for every time I've wanted to remove all of the .svn folders from a directory tree Thursday, September 13, 2007 2:43 PMby Rich Mercer#Phantom of Ash » ??????SVN??????SHELL??????Pingback from Phantom of Ash » ??????SVN??????SHELL?????? Monday, October 22, 2007 9:07 AMby Phantom of Ash » ??????SVN??????SHELL??????#re: Shell Command - Remove SVN Foldersso...cool~~~:> it is a very useful tip. SVN folders have always bothered me. i don't worry about that owe to you thanks~~ Monday, November 26, 2007 4:07 AMby vkimone#Subversion and TortoiseSVN tips and tricksSubversion and TortoiseSVN tips and tricks Tuesday, December 11, 2007 4:33 PMby Bite my bytes#re: Shell Command - Remove SVN FoldersIt doesn't work :( Thursday, December 13, 2007 10:02 AMby Dime#EvoTalk » Remove .svn FolderPingback from EvoTalk » Remove .svn Folder Thursday, December 27, 2007 10:51 AMby EvoTalk » Remove .svn Folder#re: Shell Command - Remove SVN FoldersWorks perfect. Thanks! Friday, January 25, 2008 5:39 AMby Kras#re: Shell Command - Remove SVN FoldersIt doesn't appear to work for me. When I select a folder and right click -> DeleteSVN in the shell menu, it prompts me with the "Open With" dialog. Thursday, January 31, 2008 12:11 PMby Brandon#re: Shell Command - Remove SVN FoldersThank you sooooo much. This little entry in the context menu is really handy! Thursday, February 21, 2008 2:49 PMby Josh#The Deleting SVN Folders memePerhaps I should name 5 other people to modify this script when I'm done. First, it was Wyatt , then Thursday, March 06, 2008 9:32 AMby British Inside#re: Shell Command - Remove SVN Foldersquick and dirty update to delete .svn and _svn :D Thursday, March 06, 2008 9:34 AMby James Shaw#Mind Gravy » Blog Archive » links for 2008-03-08Pingback from Mind Gravy » Blog Archive » links for 2008-03-08 Saturday, March 08, 2008 7:24 AMby Mind Gravy » Blog Archive » links for 2008-03-08#Wildbit » Blog Archive » How to clean .svn folders from your project – Social Networking and Subscriber-based Services.Pingback from Wildbit » Blog Archive » How to clean .svn folders from your project – Social Networking and Subscriber-based Services. Wednesday, March 12, 2008 9:28 PMby Wildbit » Blog Archive » How to clean .svn folders from your project – Social Networking and Subscriber-based Services.#re: Shell Command - Remove SVN Foldersi come from china , thx for your code,it resolved my problem Wednesday, April 02, 2008 2:56 AMby xzqtttLeave a CommentTitle (required) Name (required) Your URL (optional)Comments (required) Remember Me? Terms of Useразделы электросчетчик гамма штанга насосный антенна ларсен центр бюджетирование гайковерт электрический вихревой теплогенераторы крупный жилищный комплекс автономный электроснабжение тонировка поставка тройник перех перегородка сантехкабин задний зеркало северский доломит пежо шелковый ковры доставка хим. реагент инженерный геодезия решетка перевод испанский кожгалантерея экстракт корень лопух сух. кадровый владимир застежка zip-lock калибровка цвет ziplock пакет гриппер trinity hi-fi масло облепих.концентрат организовать рассылка гайковерт градирня вентиляторные шарошка алмазный прайс сушильный машина асбест хризотиловый авиатакси откачка туалет электрический прочность перевод испанский эксимер лазер два цвет адресный база данный срочный перевод помидор купля квн мусорный пакет капсула миаози лечение алкоголизма детский мир qtek ожирение флаг башня зеркало багуа рассылка три цвета: красный антенна радиочастотный зеркало багуа букмекерский контора фаворит чувствительный кожа велюкс сушильный машина frigidaire купить электрооткрывалку бахила производитель услуга кострома мачта флагшток спб доставка застежка zip-lock braas серверные корпус консольный переключатель кислородный концентратор антигололедные реагент спецобувь лечение слух снегоход буран добрый тепло i`m o.k./герои гроб рефрижератор агат кристи билет метробонд слоеный изделие купить угольник стелаж пищеблок проходить осмотр гинеколог аденома нейминг шапка доставка меховой холодильник пленка пэ билет балет басейны intex флагшток внутренний использование маркировочная краска shell omala shell