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 everytime 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... it 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 folders 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
CodeProject