How to Remove All that .svn Folder

man-drinking-coffee-from-pot

Little background about this. My boss requested me to replace content of a SVN repo (says repo1) with content from another repo(says repo2). So, I checked out from repo1 and repo2. Remove all .svn folder from repo2 using command lines below. Next thing I do is manually copy all those files to working copy of repo1. Then, I just recursively add the new contents to repo1 using my SVN client (RapidSVN).

To remove all .svn within a folder:

find . -name .svn -exec rm -rf {} \;

To find all .svn within a folder:

find . -name .svn -exec ls {} \;

Source:

StackOverflow

Advertisements

Tags: , , ,

About Ferry T.H.

I'm just your fellow human being.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: