One Shell Command to delete all svn hidden folders
If you are using Subversion source control, you will be familiar with the .svn folders that SVN adds to any folder under the source control, these folders are used to keep track of the current state of the folder, but sometimes, I want to copy my code and get rid of these folders, and instead of doing this manually which becomes a headache if you have a very deep hierarchy of folders, this is a Shell Script comes to the rescue
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\" \""
Just copy the previous code and paste it in a text file and raname it to [anything].reg, and then double click on it, and install it
This will add to your context menu an item called "Delete SVN Folders" when you right click on it a command window an ugly command window will popup and in 3 sec you will be free of all the annoying .svn folders.
If you prefer to Export the code, it is ok, but if you don't keep your *.dll or *.exe or any temp folder on the server repository, so the Export will not export any of them, because they are on your local machine, so the better practice is to make another copy of the code, and apply this Shell Command on it, and voila.
Thanks to Jon Galloway for this tip