How to delete .svn Files from Mac;

Posted on Updated on

Here is a quick way to delete all .svn files from a particular directory and all its child directories;

Open your terminal, navigate to the directory from where you want to delete .svn files;

Its good to show all hidden files first;

Type the following command;

rm -rf `find . -type d -name .svn

Thats it;

Update 28.May.2k13
You can also use the followoing command for the same purpose;
find ./ -name “.svn” | xargs rm -Rf

Update 21.July.2k11
This command will not entertain those directories which has space in their name;
Anyone can solve this issue? 

free counters


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s