Tuesday, June 22, 2010

Yeterday I was looking out for a quick clean solution to removal of the .SVN directories from one of my projects. Its difficult to have the complete sub directories cleaned up.
Then I found an easy solution(for Windows):
1. Create a file named "cleanup.cmd" and type the below as it is :

for /f "tokens=* delims=" %%i in ('dir /s /b /a:d *svn') do ( rd /s /q "%%i" )

2. Now place this file in the directory you want to clean.
3. Double Click and you are done.
[The Original Source]
In case of Linux its a bit easy. In command line just type the following:
find . -type d -name ‘.svn' -print0 | xargs -0 rm -rdf

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to Boseji's Blog

Popular Post

Blogger templates

Welcome

Creation by Electronics Hobbyists from Bharat(India) to encourage & help people. This blog hosts the numerous innovations, discoveries and projects we provide.
Our Research Wing Adhar Labs
Contact Form | Email Address
We Support Open Source Hardware Definition v1.0
Creative Commons License
All works on this blog are licensed under a
Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at forbharat.wordpress.com and m8051.blogspot.com.

Permissions beyond the scope of this license may be available at http://forbharat.wordpress.com/permissions/.
Thank you for all your support.

© A.D.H.A.R Labs Research 2008-2013 . Powered by Blogger.

Follow by Email

Followers

PCB Unit Converter

mils
mm

- Copyright © Electronics for Bharat -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -