Remove .svn files from directory list
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
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
It’s almost the same thing.
xargs passes the response of the find as argument of the rm command.
Alex (Shurf) Frenkel
May 11, 2011 at 5:35 pm
Here is the wiki page:
http://en.wikipedia.org/wiki/Xargs
Alex (Shurf) Frenkel
May 11, 2011 at 5:36 pm
Thanks
umitay
July 15, 2011 at 10:09 am