You're a developer, you need a source control system
So far in my experience I've used a few. Floppys, DVD-RW's, thumb drives, external hard drives, emailing myself zipped up folders,
Cloud Storage (Microsoft's SkyDrive), to Microsoft's Visual Source Safe, SVN, and Microsoft's Team Foundation Server.
As of the last few years I've been using SVN and I'm pretty happy with it! The local comparison's offer good speed instead of doing a client-server
compare every time I need to check and it's very simple to manage multiple checkouts and merge (if you ask me); but there's one catch to all that... if creates a local copy
of every file in a hidden .svn folder parent to the directory. When it comes time to copying a folder, you're doing twice the work and twice the storage.
I know I'm not alone with this endeavor. Many colleagues and friends express the same challenge when they want to just share the actual code and
not the duplicated folder's created.
So, that being said
If you've ever wanted to remove all those hidden .svn folders
that are created by SVN, here is a simple bat script to do that work for you. Just save it as
RemoveSVN.bat and let this take care of the rest.
@echo off
echo Please enter a full directory to remove SVN hidden directories from:
set /p SVNDir=
cd %SVNDir%
dir treelist
for /f "delims=" %%x in ('dir /b /ad /S .svn*') do rd /s /q "%%x"
pause