Alex (SirShurf) Frenkel's Blog

A web log of a PHP professional

Remove .svn files from directory list

with 4 comments

One of my projects had an old .svn files from the ckeditor checkout.

The problem was that there are too many directories to remove it manually so after some searches and tries here is the command to clean this .svn files.

find ./ -name ".svn" | xargs rm -Rf

Have Fun

Advertisements

Written by Alex (Shurf) Frenkel

May 4, 2011 at 4:52 pm

Posted in IDE, Uncategorized

Tagged with , , ,

4 Responses

Subscribe to comments with RSS.

  1. I don’t know the xargs, Can you explain me what is it ?
    I use the command:
    rm -rf `find . -type d -name .svn`

    10x

    umitay

    May 11, 2011 at 12:24 pm


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: