Deleting hidden Subversion files before zipping
Subversion holds various information in .svn directories placed in all directories and sub-directories under version control. Sometimes it is desireable to clean out these files, for example, prior to emailing a zip of the files. I use the awesome tool Total Commander for the job.
The procedure is as follows
-
Start Total Commander and make a directory in a scratch area such as c:\temp.
-
Copy the directories to this tempoary directory
-
In the tempoary directory press Alt-F7 to enter search
-
Search for “.svn” files
-
Click the “Feed to list box” button
-
Select all files
-
Delete
All the .svn directories are now deleted and the tempoary directory can be zipped and mailed.